|
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.ContentHashPastContentHandle
Field Summary | |
static short |
TYPE
DESCRIBE THE FIELD |
Constructor Summary | |
ContentHashPastContentHandle(InputBuffer buf,
Endpoint endpoint)
Constructor for ContentHashPastContentHandle. |
|
ContentHashPastContentHandle(NodeHandle nh,
Id id)
Constructor |
Method Summary | |
Id |
getId()
Returns the id of the PastContent object associated with this handle |
NodeHandle |
getNodeHandle()
Returns the NodeHandle of the Past node on which the object associated with this handle is stored |
short |
getType()
Gets the Type attribute of the ContentHashPastContentHandle 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 static final short TYPE
Constructor Detail |
public ContentHashPastContentHandle(NodeHandle nh, Id id)
nh
- The handle of the node which holds the objectid
- key identifying the object to be insertedpublic ContentHashPastContentHandle(InputBuffer buf, Endpoint endpoint) throws java.io.IOException
buf
- DESCRIBE THE PARAMETERendpoint
- DESCRIBE THE PARAMETER
java.io.IOException
- DESCRIBE THE EXCEPTIONMethod Detail |
public Id getId()
getId
in interface PastContentHandle
public NodeHandle getNodeHandle()
getNodeHandle
in interface PastContentHandle
public short getType()
getType
in interface RawPastContentHandle
public void serialize(OutputBuffer buf) throws java.io.IOException
serialize
in interface RawPastContentHandle
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 |