|
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.messaging.PRawMessage 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 short |
TYPE
DESCRIBE THE FIELD |
static int |
Update
DESCRIBE THE FIELD |
Fields inherited from class rice.pastry.messaging.Message |
DEFAULT_PRIORITY_LEVEL |
Fields inherited from interface rice.p2p.commonapi.Message |
HIGH_PRIORITY, LOW_PRIORITY, MAX_PRIORITY, MEDIUM_HIGH_PRIORITY, MEDIUM_LOW_PRIORITY, MEDIUM_PRIORITY |
Constructor Summary | |
BroadcastLeafSet(java.util.Date stamp,
NodeHandle from,
LeafSet leafSet,
int type)
Constructor. |
|
BroadcastLeafSet(InputBuffer buf,
NodeHandleFactory nhf)
Constructor for BroadcastLeafSet. |
|
BroadcastLeafSet(NodeHandle from,
LeafSet leafSet,
int type)
Constructor. |
Method Summary | |
NodeHandle |
from()
Returns the node id of the node that broadcast its leaf set. |
short |
getType()
Raw Serialization ************************************** |
LeafSet |
leafSet()
Returns the leaf set that was broadcast. |
void |
serialize(OutputBuffer buf)
DESCRIBE THE METHOD |
java.lang.String |
toString()
DESCRIBE THE METHOD |
int |
type()
Returns the type of leaf set. |
Methods inherited from class rice.pastry.messaging.Message |
getDate, getDestination, getPriority, getSender, getSenderId, setPriority, setSender, stamp |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface rice.p2p.commonapi.Message |
getPriority |
Field Detail |
public static final short TYPE
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(java.util.Date stamp, NodeHandle from, LeafSet leafSet, int type)
stamp
- the timestampfrom
- DESCRIBE THE PARAMETERleafSet
- DESCRIBE THE PARAMETERtype
- DESCRIBE THE PARAMETERpublic BroadcastLeafSet(InputBuffer buf, NodeHandleFactory nhf) throws java.io.IOException
buf
- DESCRIBE THE PARAMETERnhf
- DESCRIBE THE PARAMETER
java.io.IOException
- DESCRIBE THE EXCEPTIONMethod Detail |
public short getType()
public NodeHandle from()
public LeafSet leafSet()
public int type()
public java.lang.String toString()
public void serialize(OutputBuffer buf) throws java.io.IOException
buf
- DESCRIBE THE PARAMETER
java.io.IOException
- DESCRIBE THE EXCEPTION
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |