rice.p2p.past.testing
Class PastRegrTest.TestPastContentHandle
java.lang.Object
|
+--rice.p2p.past.testing.PastRegrTest.TestPastContentHandle
- All Implemented Interfaces:
- PastContentHandle, java.io.Serializable
- Enclosing class:
- PastRegrTest
- protected static class PastRegrTest.TestPastContentHandle
- extends java.lang.Object
- implements PastContentHandle
Utility class for past content object handles
- See Also:
- Serialized Form
Field Summary |
protected rice.p2p.commonapi.NodeHandle |
handle
|
protected rice.p2p.commonapi.Id |
id
|
Method Summary |
rice.p2p.commonapi.Id |
getId()
get the id of the PastContent object associated with this handle |
rice.p2p.commonapi.NodeHandle |
getNodeHandle()
get the NodeHandle of the Past node on which the object associated with this handle is stored |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
handle
protected rice.p2p.commonapi.NodeHandle handle
id
protected rice.p2p.commonapi.Id id
PastRegrTest.TestPastContentHandle
public PastRegrTest.TestPastContentHandle(rice.p2p.past.Past past,
rice.p2p.commonapi.Id id)
getId
public rice.p2p.commonapi.Id getId()
- Description copied from interface:
PastContentHandle
- get the id of the PastContent object associated with this handle
- Specified by:
getId
in interface PastContentHandle
- Returns:
- the id
getNodeHandle
public rice.p2p.commonapi.NodeHandle getNodeHandle()
- Description copied from interface:
PastContentHandle
- get the NodeHandle of the Past node on which the object associated with this handle is stored
- Specified by:
getNodeHandle
in interface PastContentHandle
- Returns:
- the id
Copyright © 2001 - Rice Pastry.