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
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:
Copyright © 2001-2005 - Rice Pastry.