|
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.testing.RawPastRegrTest.TestPastContent
Utility class for past content objects
Field Summary | |
protected RawPastContent |
existing
DESCRIBE THE FIELD |
protected Id |
id
DESCRIBE THE FIELD |
static short |
TYPE
DESCRIBE THE FIELD |
Constructor Summary | |
RawPastRegrTest.TestPastContent(Id id)
Constructor for TestPastContent. |
|
RawPastRegrTest.TestPastContent(InputBuffer buf,
Endpoint endpoint,
PastContentDeserializer pcd)
Constructor for TestPastContent. |
Method Summary | |
PastContent |
checkInsert(Id id,
PastContent existingContent)
DESCRIBE THE METHOD |
boolean |
equals(java.lang.Object o)
DESCRIBE THE METHOD |
PastContentHandle |
getHandle(Past past)
Gets the Handle attribute of the TestPastContent object |
Id |
getId()
Gets the Id attribute of the TestPastContent object |
short |
getType()
Gets the Type attribute of the TestPastContent object |
boolean |
isMutable()
Gets the Mutable attribute of the TestPastContent object |
void |
serialize(OutputBuffer buf)
DESCRIBE THE METHOD |
java.lang.String |
toString()
DESCRIBE THE METHOD |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
protected Id id
protected RawPastContent existing
public static final short TYPE
Constructor Detail |
public RawPastRegrTest.TestPastContent(Id id)
id
- DESCRIBE THE PARAMETERpublic RawPastRegrTest.TestPastContent(InputBuffer buf, Endpoint endpoint, PastContentDeserializer pcd) throws java.io.IOException
buf
- DESCRIBE THE PARAMETERendpoint
- DESCRIBE THE PARAMETERpcd
- DESCRIBE THE PARAMETER
java.io.IOException
- DESCRIBE THE EXCEPTIONMethod Detail |
public PastContentHandle getHandle(Past past)
getHandle
in interface PastContent
past
- 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 boolean equals(java.lang.Object o)
o
- DESCRIBE THE PARAMETER
public java.lang.String toString()
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 |