|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectrice.pastry.standard.StandardJoinProtocol
An implementation of a simple join protocol.
| Constructor Summary | |
StandardJoinProtocol(PastryNode ln,
NodeHandle lh,
PastrySecurityManager sm,
RoutingTable rt,
LeafSet ls)
Constructor. |
|
| Method Summary | |
void |
broadcastRows(JoinRequest jr)
Broadcasts the route table rows. |
Address |
getAddress()
Get address. |
void |
receiveMessage(Message msg)
Receives a message from the outside world. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public StandardJoinProtocol(PastryNode ln,
NodeHandle lh,
PastrySecurityManager sm,
RoutingTable rt,
LeafSet ls)
lh - the local node handle.sm - the Pastry security manager.| Method Detail |
public Address getAddress()
public void receiveMessage(Message msg)
receiveMessage in interface MessageReceivermsg - the message that was received.public void broadcastRows(JoinRequest jr)
jr - the join row.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||