|
Rice Pastry API | ||||||||||
| 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.
| Field Summary | |
protected Address |
address
DESCRIBE THE FIELD |
protected LeafSet |
leafSet
DESCRIBE THE FIELD |
protected NodeHandle |
localHandle
DESCRIBE THE FIELD |
protected PastryNode |
localNode
DESCRIBE THE FIELD |
protected RoutingTable |
routeTable
DESCRIBE THE FIELD |
protected PastrySecurityManager |
security
DESCRIBE THE FIELD |
| 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. |
protected void |
setReady()
Sets the Ready attribute of the StandardJoinProtocol object |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected PastryNode localNode
protected NodeHandle localHandle
protected PastrySecurityManager security
protected RoutingTable routeTable
protected LeafSet leafSet
protected Address address
| Constructor Detail |
public StandardJoinProtocol(PastryNode ln,
NodeHandle lh,
PastrySecurityManager sm,
RoutingTable rt,
LeafSet ls)
lh - the local node handle.sm - the Pastry security manager.ln - DESCRIBE THE PARAMETERrt - DESCRIBE THE PARAMETERls - DESCRIBE THE PARAMETER| Method Detail |
public Address getAddress()
protected void setReady()
public void receiveMessage(Message msg)
receiveMessage in interface MessageReceivermsg - the message that was received.public void broadcastRows(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 | ||||||||||