org.planx.xmlstore.routing
Interface NeighbourhoodListener

All Known Subinterfaces:
KademliaNeighbourhoodListener

public interface NeighbourhoodListener

Listens for newly arrived nodes in the neighbourhood of the local node.


Method Summary
 void peerArrived(InetSocketAddress peer)
          A new node has arrived.
 

Method Detail

peerArrived

void peerArrived(InetSocketAddress peer)
A new node has arrived. The InetSocketAddress consists of the IP number of the peer and the contact port specified using the DistributedMap.setContactPort(int) method at the peer.



Copyright © 2010. All Rights Reserved.