|
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.StandardJoinProtocol
An implementation of a simple join protocol.
Constructor Summary | |
StandardJoinProtocol(rice.pastry.PastryNode ln,
rice.pastry.NodeHandle lh,
rice.pastry.security.PastrySecurityManager sm,
rice.pastry.routing.RoutingTable rt,
rice.pastry.leafset.LeafSet ls)
Constructor. |
Method Summary | |
void |
broadcastRows(rice.pastry.join.JoinRequest jr)
Broadcasts the route table rows. |
rice.pastry.messaging.Address |
getAddress()
Get address. |
void |
receiveMessage(rice.pastry.messaging.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(rice.pastry.PastryNode ln, rice.pastry.NodeHandle lh, rice.pastry.security.PastrySecurityManager sm, rice.pastry.routing.RoutingTable rt, rice.pastry.leafset.LeafSet ls)
lh
- the local node handle.sm
- the Pastry security manager.Method Detail |
public rice.pastry.messaging.Address getAddress()
public void receiveMessage(rice.pastry.messaging.Message msg)
receiveMessage
in interface MessageReceiver
msg
- the message that was received.public void broadcastRows(rice.pastry.join.JoinRequest jr)
jr
- the join row.
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |