org.planx.xmlstore.routing
Class NeighbourhoodListenerImpl
java.lang.Object
org.planx.xmlstore.routing.NeighbourhoodListenerImpl
- All Implemented Interfaces:
- NeighbourhoodListener
- public class NeighbourhoodListenerImpl
- extends Object
- implements NeighbourhoodListener
When a new node is inserted into the neighbourhood of the local node
a HashRequestMessage is sent to it.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
NeighbourhoodListenerImpl
public NeighbourhoodListenerImpl(Node local)
- Note that the MessageServer must be set with
setMessageServer(org.planx.xmlstore.routing.messaging.MessageServer) before use.
setMessageServer
public void setMessageServer(MessageServer server)
nodeArrived
public void nodeArrived(Node node)
- Description copied from interface:
NeighbourhoodListener
- A new node has been inserted in a bucket in the neighbourhood.
This does not include the local node.
- Specified by:
nodeArrived in interface NeighbourhoodListener
DIKU 2003