|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--rice.pastry.messaging.Message | +--rice.pastry.leafset.BroadcastLeafSet
Broadcast a leaf set to another node.
Field Summary | |
static int |
Correction
|
static int |
JoinAdvertise
|
static int |
JoinInitial
|
static int |
Update
|
Constructor Summary | |
BroadcastLeafSet(rice.pastry.security.Credentials cred,
java.util.Date stamp,
rice.pastry.NodeHandle from,
rice.pastry.leafset.LeafSet leafSet,
int type)
Constructor. |
|
BroadcastLeafSet(rice.pastry.security.Credentials cred,
rice.pastry.NodeHandle from,
rice.pastry.leafset.LeafSet leafSet,
int type)
Constructor. |
|
BroadcastLeafSet(java.util.Date stamp,
rice.pastry.NodeHandle from,
rice.pastry.leafset.LeafSet leafSet,
int type)
Constructor. |
|
BroadcastLeafSet(rice.pastry.NodeHandle from,
rice.pastry.leafset.LeafSet leafSet,
int type)
Constructor. |
Method Summary | |
rice.pastry.NodeHandle |
from()
Returns the node id of the node that broadcast its leaf set. |
rice.pastry.leafset.LeafSet |
leafSet()
Returns the leaf set that was broadcast. |
java.lang.String |
toString()
|
int |
type()
Returns the type of leaf set. |
Methods inherited from class rice.pastry.messaging.Message |
getCredentials, getDate, getDestination, getSenderId, getStream, hasPriority, setPriority, setSenderId, 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(rice.pastry.NodeHandle from, rice.pastry.leafset.LeafSet leafSet, int type)
public BroadcastLeafSet(rice.pastry.security.Credentials cred, rice.pastry.NodeHandle from, rice.pastry.leafset.LeafSet leafSet, int type)
cred
- the credentials.public BroadcastLeafSet(java.util.Date stamp, rice.pastry.NodeHandle from, rice.pastry.leafset.LeafSet leafSet, int type)
stamp
- the timestamppublic BroadcastLeafSet(rice.pastry.security.Credentials cred, java.util.Date stamp, rice.pastry.NodeHandle from, rice.pastry.leafset.LeafSet leafSet, int type)
cred
- the credentials.stamp
- the timestampMethod Detail |
public rice.pastry.NodeHandle from()
public rice.pastry.leafset.LeafSet leafSet()
public int type()
public java.lang.String toString()
toString
in class java.lang.Object
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |