Rio Project 4.2 API Documentation



org.rioproject.boot
Class MulticastStatus

java.lang.Object
  extended by org.rioproject.boot.MulticastStatus

public class MulticastStatus
extends Object

Class which can be used to determine whether multicast is available. Credit goes to Alexander V. Konstantinou


Constructor Summary
MulticastStatus()
           
 
Method Summary
static void checkMulticast(int timeout)
          Determines if a multicast socket can be created and a Request annnouncement can be sent.
static void main(String[] args)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MulticastStatus

public MulticastStatus()
Method Detail

checkMulticast

public static void checkMulticast(int timeout)
                           throws IOException
Determines if a multicast socket can be created and a Request annnouncement can be sent. Note that it is still possible that multicast does not work outside the host.

Parameters:
timeout - The timeout to use hen checking the status
Throws:
IOException - If there are errors interfacing ith the network

main

public static void main(String[] args)

Copyright © Rio Project.

Copyright © 2006-2011 Rio Project. All Rights Reserved.