org.jppf.server.peer
Class PeerDiscoveryThread
java.lang.Object
org.jppf.utils.ThreadSynchronization
org.jppf.server.peer.PeerDiscoveryThread
- All Implemented Interfaces:
- Runnable
public class PeerDiscoveryThread
- extends ThreadSynchronization
- implements Runnable
Instances of this class discover peer drivers over the network.
- Author:
- Laurent Cohen
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PeerDiscoveryThread
public PeerDiscoveryThread()
- Default constructor.
run
public void run()
- Lookup server configurations from UDP multicasts.
- Specified by:
run in interface Runnable
- See Also:
Runnable.run()
addPeer
public void addPeer(JPPFConnectionInformation info)
- Add a newly found peer.
- Parameters:
info - the peer's connection information.
removePeer
public void removePeer(String name)
- Remove a disconnected peer.
- Parameters:
name - the name of the peer to remove.
Copyright © 2005-2010 JPPF Team.