Rice Pastry API

rice.pastry.routing
Interface Router

All Known Implementing Classes:
RapidRerouter, StandardRouter

public interface Router

Router is no longer just an application. It is privileged.

Author:
Jeff Hoye

Method Summary
 java.util.Iterator<NodeHandle> getBestRoutingCandidates(Id key)
          Returns an ordered list of the best candidates for the next to the key.
 void route(RouteMessage rm)
           
 

Method Detail

route

void route(RouteMessage rm)

getBestRoutingCandidates

java.util.Iterator<NodeHandle> getBestRoutingCandidates(Id key)
Returns an ordered list of the best candidates for the next to the key. Always starts with a node that matches an additional prefix, if it is available.

Parameters:
key -
Returns:

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.