org.jppf.comm.discovery
Class JPPFBroadcaster

java.lang.Object
  extended by org.jppf.utils.ThreadSynchronization
      extended by org.jppf.comm.discovery.JPPFBroadcaster
All Implemented Interfaces:
Runnable

public class JPPFBroadcaster
extends ThreadSynchronization
implements Runnable

Instances of this class broadcast JPPF driver information at regular intervals, to a configured UDP multicast group, to enable automatic discovery by clients, nodes and peer drivers.

Author:
Laurent Cohen

Field Summary
 
Fields inherited from class org.jppf.utils.ThreadSynchronization
stopped
 
Constructor Summary
JPPFBroadcaster(JPPFConnectionInformation info)
          Initialize this broadcaster using the server configuration information.
 
Method Summary
 void kill()
           
 void run()
           
 
Methods inherited from class org.jppf.utils.ThreadSynchronization
goToSleep, goToSleep, goToSleep, isStopped, setStopped, wakeUp
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JPPFBroadcaster

public JPPFBroadcaster(JPPFConnectionInformation info)
Initialize this broadcaster using the server configuration information.

Parameters:
info - holds the driver connection information to broadcast.
Method Detail

run

public void run()
Specified by:
run in interface Runnable
See Also:
Runnable.run()

kill

public void kill()


Copyright © 2005-2010 JPPF Team.