|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.p2p.past.rawserialization.JavaSerializedPastContent
DESCRIBE THE CLASS
Field Summary | |
PastContent |
content
DESCRIBE THE FIELD |
static short |
TYPE
DESCRIBE THE FIELD |
Constructor Summary | |
JavaSerializedPastContent(PastContent content)
Constructor for JavaSerializedPastContent. |
Method Summary | |
PastContent |
checkInsert(Id id,
PastContent existingContent)
DESCRIBE THE METHOD |
PastContent |
getContent()
Gets the Content attribute of the JavaSerializedPastContent object |
PastContentHandle |
getHandle(Past local)
Gets the Handle attribute of the JavaSerializedPastContent object |
Id |
getId()
Gets the Id attribute of the JavaSerializedPastContent object |
short |
getType()
Gets the Type attribute of the JavaSerializedPastContent object |
boolean |
isMutable()
Gets the Mutable attribute of the JavaSerializedPastContent object |
void |
serialize(OutputBuffer buf)
DESCRIBE THE METHOD |
java.lang.String |
toString()
DESCRIBE THE METHOD |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public PastContent content
public static final short TYPE
Constructor Detail |
public JavaSerializedPastContent(PastContent content)
content
- DESCRIBE THE PARAMETERMethod Detail |
public short getType()
getType
in interface RawPastContent
public PastContent getContent()
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 void serialize(OutputBuffer buf) throws java.io.IOException
serialize
in interface RawPastContent
buf
- DESCRIBE THE PARAMETER
java.io.IOException
- DESCRIBE THE EXCEPTIONpublic java.lang.String toString()
public PastContent checkInsert(Id id, PastContent existingContent) throws PastException
checkInsert
in interface PastContent
id
- DESCRIBE THE PARAMETERexistingContent
- DESCRIBE THE PARAMETER
PastException
- DESCRIBE THE EXCEPTION
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |