|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectrice.pastry.standard.PeriodicLeafSetProtocol
An implementation of a periodic-style leafset protocol
| Field Summary | |
protected LeafSet |
leafSet
DESCRIBE THE FIELD |
protected NodeHandle |
localHandle
DESCRIBE THE FIELD |
protected PastryNode |
localNode
DESCRIBE THE FIELD |
protected java.util.Random |
random
DESCRIBE THE FIELD |
protected RoutingTable |
routeTable
DESCRIBE THE FIELD |
protected PastrySecurityManager |
security
DESCRIBE THE FIELD |
| Constructor Summary | |
PeriodicLeafSetProtocol(PastryNode ln,
NodeHandle local,
PastrySecurityManager sm,
LeafSet ls,
RoutingTable rt)
Builds a periodic leafset protocol |
|
| Method Summary | |
protected void |
broadcastAll()
Broadcast the leaf set to all members of the local leaf set. |
Address |
getAddress()
Gets the address. |
void |
receiveMessage(Message msg)
Receives messages. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected NodeHandle localHandle
protected PastryNode localNode
protected PastrySecurityManager security
protected LeafSet leafSet
protected RoutingTable routeTable
protected java.util.Random random
| Constructor Detail |
public PeriodicLeafSetProtocol(PastryNode ln,
NodeHandle local,
PastrySecurityManager sm,
LeafSet ls,
RoutingTable rt)
ln - DESCRIBE THE PARAMETERlocal - DESCRIBE THE PARAMETERsm - DESCRIBE THE PARAMETERls - DESCRIBE THE PARAMETERrt - DESCRIBE THE PARAMETER| Method Detail |
public Address getAddress()
public void receiveMessage(Message msg)
receiveMessage in interface MessageReceivermsg - the message.protected void broadcastAll()
|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||