|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.p2p.aggregation.Aggregate rice.p2p.aggregation.raw.RawAggregate
DESCRIBE THE CLASS
Field Summary | |
static short |
TYPE
DESCRIBE THE FIELD |
Fields inherited from class rice.p2p.aggregation.Aggregate |
components, myId, pointers |
Constructor Summary | |
RawAggregate(GCPastContent[] components,
Id[] pointers)
Constructor for RawAggregate. |
|
RawAggregate(InputBuffer buf,
Endpoint endpoint,
PastContentDeserializer contentDeserializer)
Constructor for RawAggregate. |
|
RawAggregate(RawGCPastContent[] components,
Id[] pointers)
Constructor for RawAggregate. |
Method Summary | |
byte[] |
getContentHash()
Gets the ContentHash attribute of the RawAggregate object |
short |
getType()
Raw Serialization ************************************** |
int |
numComponents()
DESCRIBE THE METHOD |
void |
serialize(OutputBuffer buf)
DESCRIBE THE METHOD |
Methods inherited from class rice.p2p.aggregation.Aggregate |
checkInsert, getComponent, getHandle, getHandle, getId, getMetadata, getPointers, getVersion, isMutable, setId |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface rice.p2p.past.gc.GCPastContent |
getHandle, getMetadata, getVersion |
Methods inherited from interface rice.p2p.past.PastContent |
checkInsert, getHandle, getId, isMutable |
Field Detail |
public static final short TYPE
Constructor Detail |
public RawAggregate(GCPastContent[] components, Id[] pointers)
components
- DESCRIBE THE PARAMETERpointers
- DESCRIBE THE PARAMETERpublic RawAggregate(RawGCPastContent[] components, Id[] pointers)
components
- DESCRIBE THE PARAMETERpointers
- DESCRIBE THE PARAMETERpublic RawAggregate(InputBuffer buf, Endpoint endpoint, PastContentDeserializer contentDeserializer) throws java.io.IOException
buf
- DESCRIBE THE PARAMETERendpoint
- DESCRIBE THE PARAMETERcontentDeserializer
- DESCRIBE THE PARAMETER
java.io.IOException
- DESCRIBE THE EXCEPTIONMethod Detail |
public byte[] getContentHash()
getContentHash
in class Aggregate
public short getType()
getType
in interface RawPastContent
public int numComponents()
numComponents
in class Aggregate
public void serialize(OutputBuffer buf) throws java.io.IOException
serialize
in interface RawPastContent
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 |