|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--rice.pastry.standard.StandardRouter
An implementation of the standard Pastry routing algorithm.
Constructor Summary | |
StandardRouter(rice.pastry.NodeHandle handle,
rice.pastry.routing.RoutingTable rt,
rice.pastry.leafset.LeafSet ls,
rice.pastry.security.PastrySecurityManager sm)
Constructor. |
Method Summary | |
rice.pastry.messaging.Address |
getAddress()
Gets the address of this component. |
void |
receiveMessage(rice.pastry.messaging.Message msg)
Receive a message from a remote node. |
void |
receiveRouteMessage(rice.pastry.routing.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(rice.pastry.NodeHandle handle, rice.pastry.routing.RoutingTable rt, rice.pastry.leafset.LeafSet ls, rice.pastry.security.PastrySecurityManager sm)
rt
- the routing table.ls
- the leaf set.Method Detail |
public rice.pastry.messaging.Address getAddress()
public void receiveMessage(rice.pastry.messaging.Message msg)
receiveMessage
in interface MessageReceiver
msg
- the message.public void receiveRouteMessage(rice.pastry.routing.RouteMessage msg)
msg
- the message.
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |