peerbase
Interface RouterInterface

All Known Implementing Classes:
SimpleRouter

public interface RouterInterface

Interface for objects that determine the next hop for a message to be routed to in the peer-to-peer network. Given the identifier of a peer, the router object should be able to return information regarding the peer node to which the message should be forwarded next.

Author:
Nadeem Abdul Hamid

Method Summary
 PeerInfo route(java.lang.String peerid)
           
 

Method Detail

route

PeerInfo route(java.lang.String peerid)