org.mmbase.clustering.unicast
Class ChangesReceiver

java.lang.Object
  extended by 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

Constructor Summary
ChangesReceiver(String unicastHost, int unicastPort, BlockingQueue<byte[]> nodesToSpawn, int version)
          Construct UniCast Receiver
 
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
 

Constructor Detail

ChangesReceiver

public ChangesReceiver(String unicastHost,
                       int unicastPort,
                       BlockingQueue<byte[]> nodesToSpawn,
                       int version)
                throws IOException
Construct UniCast Receiver

Parameters:
unicastHost - host of unicast connection
unicastPort - port of the unicast connections
nodesToSpawn - Queue of received messages
Throws:
IOException - when server socket failrf to listen
Method Detail

start

public void start()

stop

void stop()

run

public void run()
Specified by:
run in interface Runnable


MMBase 2.0-SNAPSHOT - null