Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## 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)` Send the RouteMessage based on the Pastry Algorithm

Method Detail

### route

    void route(RouteMessage rm)

  Send the RouteMessage based on the Pastry Algorithm

  Parameters:
    `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:

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2005 - Rice Pastry.