org.planx.xmlstore.routing
Interface KademliaNeighbourhoodListener

All Superinterfaces:
NeighbourhoodListener

public interface KademliaNeighbourhoodListener
extends NeighbourhoodListener

Listens for newly arrived nodes in the neighbourhood of the local node. The neighbourhood is defined as the smallest subtree around the local node with at least K nodes.


Method Summary
 void nodeArrived(Node node)
          A new node has been inserted in a bucket in the neighbourhood.
 
Methods inherited from interface org.planx.xmlstore.routing.NeighbourhoodListener
peerArrived
 

Method Detail

nodeArrived

void nodeArrived(Node node)
A new node has been inserted in a bucket in the neighbourhood. This does not include the local node.



Copyright © 2010. All Rights Reserved.