org.mmbase.clustering.multicast
Class Multicast
java.lang.Object
org.mmbase.clustering.ClusterManager
org.mmbase.clustering.multicast.Multicast
- All Implemented Interfaces:
- Runnable, AllEventListener, EventListener
public class Multicast
- extends ClusterManager
Multicast is a thread object that reads the receive queue
and spawns them to call the objects (listeners) who need to know.
The Multicast start two threads to handle the sending and receiving of
multicast messages.
- Version:
- $Id: Multicast.java 42844 2010-07-09 13:31:00Z michiel $
- Author:
- Daniel Ockeloen, Rico Jansen, Nico Klasens
CONFIG_FILE
public static final String CONFIG_FILE
- See Also:
- Constant Field Values
HOST_DEFAULT
public static final String HOST_DEFAULT
- See Also:
- Constant Field Values
PORT_DEFAULT
public static final int PORT_DEFAULT
- See Also:
- Constant Field Values
Multicast
public Multicast()
readConfiguration
protected void readConfiguration(Map<String,String> configuration)
- Read configuration settings
- Overrides:
readConfiguration in class ClusterManager
- Parameters:
configuration - read from config resource- Since:
- MMBase-1.8.1
startCommunicationThreads
protected void startCommunicationThreads()
- Description copied from class:
ClusterManager
- Subclasses should start the communication threads in this method
- Specified by:
startCommunicationThreads in class ClusterManager
stopCommunicationThreads
protected void stopCommunicationThreads()
- Description copied from class:
ClusterManager
- Subclasses should stop the communication threads in this method
- Specified by:
stopCommunicationThreads in class ClusterManager
toString
public String toString()
- Overrides:
toString in class Object
MMBase 2.0-SNAPSHOT - null