|
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
public class ContentHashPastContentHandle
Field Summary | |
---|---|
static short |
TYPE
|
Constructor Summary | |
---|---|
ContentHashPastContentHandle(InputBuffer buf,
Endpoint endpoint)
|
|
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()
|
void |
serialize(OutputBuffer buf)
|
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
java.io.IOException
Method Detail |
---|
public Id getId()
getId
in interface PastContentHandle
public NodeHandle getNodeHandle()
getNodeHandle
in interface PastContentHandle
public void serialize(OutputBuffer buf) throws java.io.IOException
serialize
in interface RawPastContentHandle
java.io.IOException
public short getType()
getType
in interface RawPastContentHandle
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |