Rio Project 4.2 API Documentation
org.rioproject.boot
Class MulticastStatus
java.lang.Object
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
|
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 |
MulticastStatus
public MulticastStatus()
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 © 2006-2011 Rio Project. All Rights Reserved.