|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrice.p2p.glacier.v2.messaging.GlacierMessage
rice.p2p.glacier.v2.messaging.GlacierSyncMessage
public class GlacierSyncMessage
DESCRIBE THE CLASS
Field Summary | |
---|---|
protected BloomFilter |
BloomFilter
DESCRIBE THE FIELD |
protected int |
offsetFID
DESCRIBE THE FIELD |
protected IdRange |
range
DESCRIBE THE FIELD |
static short |
TYPE
DESCRIBE THE FIELD |
Fields inherited from class rice.p2p.glacier.v2.messaging.GlacierMessage |
---|
dest, id, isResponse, source, tag |
Fields inherited from interface rice.p2p.commonapi.Message |
---|
HIGH_PRIORITY, LOW_PRIORITY, MAX_PRIORITY, MEDIUM_HIGH_PRIORITY, MEDIUM_LOW_PRIORITY, MEDIUM_PRIORITY |
Constructor Summary | |
---|---|
GlacierSyncMessage(int uid,
IdRange range,
int offsetFID,
BloomFilter BloomFilter,
NodeHandle source,
Id dest,
char tag)
Constructor for GlacierSyncMessage. |
Method Summary | |
---|---|
static GlacierSyncMessage |
build(InputBuffer buf,
Endpoint endpoint)
DESCRIBE THE METHOD |
BloomFilter |
getBloomFilter()
Gets the BloomFilter attribute of the GlacierSyncMessage object |
int |
getOffsetFID()
Gets the OffsetFID attribute of the GlacierSyncMessage object |
IdRange |
getRange()
Gets the Range attribute of the GlacierSyncMessage object |
short |
getType()
Raw Serialization ************************************** |
void |
serialize(OutputBuffer buf)
DESCRIBE THE METHOD |
java.lang.String |
toString()
Converts to a String representation of the object. |
Methods inherited from class rice.p2p.glacier.v2.messaging.GlacierMessage |
---|
getDestination, getPriority, getSource, getTag, getUID, isResponse |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected IdRange range
protected int offsetFID
protected BloomFilter BloomFilter
public static final short TYPE
Constructor Detail |
---|
public GlacierSyncMessage(int uid, IdRange range, int offsetFID, BloomFilter BloomFilter, NodeHandle source, Id dest, char tag)
uid
- DESCRIBE THE PARAMETERrange
- DESCRIBE THE PARAMETERoffsetFID
- DESCRIBE THE PARAMETERBloomFilter
- DESCRIBE THE PARAMETERsource
- DESCRIBE THE PARAMETERdest
- DESCRIBE THE PARAMETERtag
- DESCRIBE THE PARAMETERMethod Detail |
---|
public int getOffsetFID()
public IdRange getRange()
public BloomFilter getBloomFilter()
public short getType()
public java.lang.String toString()
toString
in class java.lang.Object
public void serialize(OutputBuffer buf) throws java.io.IOException
serialize
in interface RawMessage
serialize
in class GlacierMessage
buf
- DESCRIBE THE PARAMETER
java.io.IOException
- DESCRIBE THE EXCEPTIONpublic static GlacierSyncMessage build(InputBuffer buf, Endpoint endpoint) throws java.io.IOException
buf
- DESCRIBE THE PARAMETERendpoint
- 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 |