|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrice.pastry.messaging.Message
rice.pastry.leafset.BroadcastLeafSet
Broadcast a leaf set to another node.
Field Summary | |
static int |
Correction
DESCRIBE THE FIELD |
static int |
JoinAdvertise
DESCRIBE THE FIELD |
static int |
JoinInitial
DESCRIBE THE FIELD |
static int |
Update
DESCRIBE THE FIELD |
Fields inherited from class rice.pastry.messaging.Message |
DEFAULT_PRIORITY_LEVEL |
Constructor Summary | |
BroadcastLeafSet(Credentials cred,
java.util.Date stamp,
NodeHandle from,
LeafSet leafSet,
int type)
Constructor. |
|
BroadcastLeafSet(Credentials cred,
NodeHandle from,
LeafSet leafSet,
int type)
Constructor. |
|
BroadcastLeafSet(java.util.Date stamp,
NodeHandle from,
LeafSet leafSet,
int type)
Constructor. |
|
BroadcastLeafSet(NodeHandle from,
LeafSet leafSet,
int type)
Constructor. |
Method Summary | |
NodeHandle |
from()
Returns the node id of the node that broadcast its leaf set. |
LeafSet |
leafSet()
Returns the leaf set that was broadcast. |
java.lang.String |
toString()
DESCRIBE THE METHOD |
int |
type()
Returns the type of leaf set. |
Methods inherited from class rice.pastry.messaging.Message |
getCredentials, getDate, getDestination, getPriority, getSender, getSenderId, getStream, setPriority, setSender, stamp |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int Update
public static final int JoinInitial
public static final int JoinAdvertise
public static final int Correction
Constructor Detail |
public BroadcastLeafSet(NodeHandle from, LeafSet leafSet, int type)
from
- DESCRIBE THE PARAMETERleafSet
- DESCRIBE THE PARAMETERtype
- DESCRIBE THE PARAMETERpublic BroadcastLeafSet(Credentials cred, NodeHandle from, LeafSet leafSet, int type)
cred
- the credentials.from
- DESCRIBE THE PARAMETERleafSet
- DESCRIBE THE PARAMETERtype
- DESCRIBE THE PARAMETERpublic BroadcastLeafSet(java.util.Date stamp, NodeHandle from, LeafSet leafSet, int type)
stamp
- the timestampfrom
- DESCRIBE THE PARAMETERleafSet
- DESCRIBE THE PARAMETERtype
- DESCRIBE THE PARAMETERpublic BroadcastLeafSet(Credentials cred, java.util.Date stamp, NodeHandle from, LeafSet leafSet, int type)
cred
- the credentials.stamp
- the timestampfrom
- DESCRIBE THE PARAMETERleafSet
- DESCRIBE THE PARAMETERtype
- DESCRIBE THE PARAMETERMethod Detail |
public NodeHandle from()
public LeafSet leafSet()
public int type()
public java.lang.String toString()
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |