org.jppf.comm.discovery
Class JPPFMulticastReceiver.Receiver
java.lang.Object
java.lang.Thread
org.jppf.comm.discovery.JPPFMulticastReceiver.Receiver
- All Implemented Interfaces:
- Runnable
- Enclosing class:
- JPPFMulticastReceiver
public class JPPFMulticastReceiver.Receiver
- extends Thread
Instances of this class attempt to receive broadcast connection information
from a multicast socket bound to a specified address.
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
JPPFMulticastReceiver.Receiver
public JPPFMulticastReceiver.Receiver(InetAddress addr,
int port)
- Initialize this Receiver with the specified address and port.
- Parameters:
addr - address the multicast socket is bound to.port - port the multicast socket listens to.
run
public void run()
- Specified by:
run in interface Runnable- Overrides:
run in class Thread
- See Also:
Runnable.run()
getInfo
public JPPFConnectionInformation getInfo()
- Get the connection information retrieved by the multicast socket.
- Returns:
- a
JPPFConnectionInformation instance or null if no information could be retrieved.
Copyright © 2005-2010 JPPF Team.