org.mmbase.module.core.change
Class UnicastChangesReceiver

java.lang.Object
  extended byorg.mmbase.module.core.change.UnicastChangesReceiver
All Implemented Interfaces:
java.lang.Runnable

public class UnicastChangesReceiver
extends java.lang.Object
implements java.lang.Runnable

UnicastChangesReceiver is a thread object that builds a Unicast Thread to receive changes from other MMBase Servers.

Version:
$Id: UnicastChangesReceiver.java,v 1.1.2.1 2004/10/09 10:51:43 nico Exp $
Author:
Nico Klasens

Constructor Summary
UnicastChangesReceiver(int unicastPort, Queue nodesToSpawn)
          Construct UniCast Receiver
 
Method Summary
 void doWork()
          Let the thread do his work
 void run()
          Run thread
 void start()
          Start Thread
 void stop()
          Stop thread
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

UnicastChangesReceiver

public UnicastChangesReceiver(int unicastPort,
                              Queue nodesToSpawn)
Construct UniCast Receiver

Parameters:
unicastPort - port of the unicast connections
nodesToSpawn - Queue of received messages
Method Detail

start

public void start()
Start Thread


stop

public void stop()
Stop thread


run

public void run()
Run thread

Specified by:
run in interface java.lang.Runnable

doWork

public void doWork()
Let the thread do his work

To Do:
determine what encoding to use on receiving packages


MMBase build 1.7.4.20050922