|
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.messaging.NonAggregate
Just wraps a header in Past to know that it is something other than an Aggregate
Field Summary | |
RawPastContent |
content
DESCRIBE THE FIELD |
static short |
TYPE
DESCRIBE THE FIELD |
Constructor Summary | |
NonAggregate(InputBuffer buf,
Endpoint endpoint,
RawPastContent subContent,
PastContentDeserializer pcd)
Constructor for NonAggregate. |
|
NonAggregate(PastContent content)
Constructor for NonAggregate. |
|
NonAggregate(RawPastContent subContent)
Constructor for NonAggregate. |
Method Summary | |
PastContent |
checkInsert(Id id,
PastContent existingContent)
DESCRIBE THE METHOD |
PastContentHandle |
getHandle(Past local)
Gets the Handle attribute of the NonAggregate object |
Id |
getId()
Gets the Id attribute of the NonAggregate object |
short |
getType()
Raw Serialization ************************************** |
boolean |
isMutable()
Gets the Mutable attribute of the NonAggregate object |
void |
serialize(OutputBuffer buf)
DESCRIBE THE METHOD |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public RawPastContent content
public static final short TYPE
Constructor Detail |
public NonAggregate(PastContent content)
content
- DESCRIBE THE PARAMETERpublic NonAggregate(RawPastContent subContent)
subContent
- DESCRIBE THE PARAMETERpublic NonAggregate(InputBuffer buf, Endpoint endpoint, RawPastContent subContent, PastContentDeserializer pcd) throws java.io.IOException
buf
- DESCRIBE THE PARAMETERendpoint
- DESCRIBE THE PARAMETERsubContent
- DESCRIBE THE PARAMETERpcd
- DESCRIBE THE PARAMETER
java.io.IOException
- DESCRIBE THE EXCEPTIONMethod Detail |
public PastContentHandle getHandle(Past local)
getHandle
in interface PastContent
local
- DESCRIBE THE PARAMETER
public Id getId()
getId
in interface PastContent
public boolean isMutable()
isMutable
in interface PastContent
public short getType()
getType
in interface RawPastContent
public PastContent checkInsert(Id id, PastContent existingContent) throws PastException
checkInsert
in interface PastContent
id
- DESCRIBE THE PARAMETERexistingContent
- DESCRIBE THE PARAMETER
PastException
- DESCRIBE THE EXCEPTIONpublic 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 |