Rice Pastry API

rice.p2p.past.testing
Class DistPastRegrTest.TestPastContentHandle

java.lang.Object
  |
  +--rice.p2p.past.testing.DistPastRegrTest.TestPastContentHandle
All Implemented Interfaces:
PastContentHandle, java.io.Serializable
Enclosing class:
DistPastRegrTest

protected static class DistPastRegrTest.TestPastContentHandle
extends java.lang.Object
implements PastContentHandle

Utility class for past content object handles

See Also:
Serialized Form

Field Summary
protected  NodeHandle handle
           
protected  Id id
           
 
Constructor Summary
DistPastRegrTest.TestPastContentHandle(Past past, Id id)
           
 
Method Summary
 Id getId()
          get the id of the PastContent object associated with this handle
 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
 

Field Detail

handle

protected NodeHandle handle

id

protected Id id
Constructor Detail

DistPastRegrTest.TestPastContentHandle

public DistPastRegrTest.TestPastContentHandle(Past past,
                                              Id id)
Method Detail

getId

public 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 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

Rice Pastry API

Copyright © 2001 - Rice Pastry