|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrice.pastry.standard.StandardRouter
An implementation of the standard Pastry routing algorithm.
Constructor Summary | |
StandardRouter(NodeHandle handle,
RoutingTable rt,
LeafSet ls,
PastrySecurityManager sm)
Constructor. |
Method Summary | |
Address |
getAddress()
Gets the address of this component. |
void |
receiveMessage(Message msg)
Receive a message from a remote node. |
void |
receiveRouteMessage(RouteMessage msg)
Receive and process a route message. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public StandardRouter(NodeHandle handle, RoutingTable rt, LeafSet ls, PastrySecurityManager sm)
rt
- the routing table.ls
- the leaf set.Method Detail |
public Address getAddress()
public void receiveMessage(Message msg)
receiveMessage
in interface MessageReceiver
msg
- the message.public void receiveRouteMessage(RouteMessage msg)
msg
- the message.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |