Rice Pastry API

rice.p2p.past.testing
Class RawPastRegrTest.TestPastContentHandle

java.lang.Object
  extended byrice.p2p.past.testing.RawPastRegrTest.TestPastContentHandle
All Implemented Interfaces:
PastContentHandle, RawPastContentHandle, java.io.Serializable
Enclosing class:
RawPastRegrTest

protected static class RawPastRegrTest.TestPastContentHandle
extends java.lang.Object
implements RawPastContentHandle

Utility class for past content object handles

Version:
$Id: pretty.settings 2305 2005-03-11 20:22:33Z jeffh $
Author:
jeffh
See Also:
Serialized Form

Field Summary
protected  NodeHandle handle
          DESCRIBE THE FIELD
protected  Id id
          DESCRIBE THE FIELD
static short TYPE
          DESCRIBE THE FIELD
 
Constructor Summary
RawPastRegrTest.TestPastContentHandle(InputBuffer buf, Endpoint endpoint)
          Constructor for TestPastContentHandle.
RawPastRegrTest.TestPastContentHandle(Past past, Id id)
          Constructor for TestPastContentHandle.
 
Method Summary
 Id getId()
          Gets the Id attribute of the TestPastContentHandle object
 NodeHandle getNodeHandle()
          Gets the NodeHandle attribute of the TestPastContentHandle object
 short getType()
          Gets the Type attribute of the TestPastContentHandle 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

handle

protected NodeHandle handle
DESCRIBE THE FIELD


id

protected Id id
DESCRIBE THE FIELD


TYPE

public static final short TYPE
DESCRIBE THE FIELD

See Also:
Constant Field Values
Constructor Detail

RawPastRegrTest.TestPastContentHandle

public RawPastRegrTest.TestPastContentHandle(Past past,
                                             Id id)
Constructor for TestPastContentHandle.

Parameters:
past - DESCRIBE THE PARAMETER
id - DESCRIBE THE PARAMETER

RawPastRegrTest.TestPastContentHandle

public RawPastRegrTest.TestPastContentHandle(InputBuffer buf,
                                             Endpoint endpoint)
                                      throws java.io.IOException
Constructor for TestPastContentHandle.

Parameters:
buf - DESCRIBE THE PARAMETER
endpoint - DESCRIBE THE PARAMETER
Throws:
java.io.IOException - DESCRIBE THE EXCEPTION
Method Detail

getId

public Id getId()
Gets the Id attribute of the TestPastContentHandle object

Specified by:
getId in interface PastContentHandle
Returns:
The Id value

getNodeHandle

public NodeHandle getNodeHandle()
Gets the NodeHandle attribute of the TestPastContentHandle object

Specified by:
getNodeHandle in interface PastContentHandle
Returns:
The NodeHandle value

getType

public short getType()
Gets the Type attribute of the TestPastContentHandle object

Specified by:
getType in interface RawPastContentHandle
Returns:
The Type value

serialize

public void serialize(OutputBuffer buf)
               throws java.io.IOException
DESCRIBE THE METHOD

Specified by:
serialize in interface RawPastContentHandle
Parameters:
buf - DESCRIBE THE PARAMETER
Throws:
java.io.IOException - DESCRIBE THE EXCEPTION

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection