org.mmbase.clustering.unicast
Class ChangesReceiver
java.lang.Object
org.mmbase.clustering.unicast.ChangesReceiver
- All Implemented Interfaces:
- Runnable
public class ChangesReceiver
- extends Object
- implements Runnable
ChangesReceiver is a thread object that builds a Unicast Thread
to receive changes from other MMBase Servers.
- Version:
- $Id: ChangesReceiver.java 43064 2010-08-06 11:31:28Z michiel $
- Author:
- Nico Klasens
|
Method Summary |
void |
run()
|
void |
start()
|
(package private) void |
stop()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ChangesReceiver
public ChangesReceiver(String unicastHost,
int unicastPort,
BlockingQueue<byte[]> nodesToSpawn,
int version)
throws IOException
- Construct UniCast Receiver
- Parameters:
unicastHost - host of unicast connectionunicastPort - port of the unicast connectionsnodesToSpawn - Queue of received messages
- Throws:
IOException - when server socket failrf to listen
start
public void start()
stop
void stop()
run
public void run()
- Specified by:
run in interface Runnable
MMBase 2.0-SNAPSHOT - null