|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.pastry.standard.StandardRouter
public class StandardRouter
An implementation of the standard Pastry routing algorithm.
Constructor Summary | |
---|---|
StandardRouter(PastryNode localNode,
PastrySecurityManager sm)
Constructor. |
Method Summary | |
---|---|
Address |
getAddress()
Gets the address of this component. |
void |
receiveMessage(Message msg)
Receive a message from a remote node. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public StandardRouter(PastryNode localNode, 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.
|
ePOST API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |