Rice Pastry API

rice.p2p.past.rawserialization
Class JavaSerializedPastContentHandle

java.lang.Object
  extended byrice.p2p.past.rawserialization.JavaSerializedPastContentHandle
All Implemented Interfaces:
PastContentHandle, RawPastContentHandle, java.io.Serializable

public class JavaSerializedPastContentHandle
extends java.lang.Object
implements RawPastContentHandle

DESCRIBE THE CLASS

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

Field Summary
 PastContentHandle handle
          DESCRIBE THE FIELD
static short TYPE
          DESCRIBE THE FIELD
 
Constructor Summary
JavaSerializedPastContentHandle(PastContentHandle handle)
          Constructor for JavaSerializedPastContentHandle.
 
Method Summary
 Id getId()
          Gets the Id attribute of the JavaSerializedPastContentHandle object
 NodeHandle getNodeHandle()
          Gets the NodeHandle attribute of the JavaSerializedPastContentHandle object
 PastContentHandle getPCH()
          Gets the PCH attribute of the JavaSerializedPastContentHandle object
 short getType()
          Gets the Type attribute of the JavaSerializedPastContentHandle object
 void serialize(OutputBuffer buf)
          DESCRIBE THE METHOD
 java.lang.String toString()
          DESCRIBE THE METHOD
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

handle

public PastContentHandle handle
DESCRIBE THE FIELD


TYPE

public static final short TYPE
DESCRIBE THE FIELD

See Also:
Constant Field Values
Constructor Detail

JavaSerializedPastContentHandle

public JavaSerializedPastContentHandle(PastContentHandle handle)
Constructor for JavaSerializedPastContentHandle.

Parameters:
handle - DESCRIBE THE PARAMETER
Method Detail

getType

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

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

getId

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

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

getNodeHandle

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

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

getPCH

public PastContentHandle getPCH()
Gets the PCH attribute of the JavaSerializedPastContentHandle object

Returns:
The PCH 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

toString

public java.lang.String toString()
DESCRIBE THE METHOD

Returns:
DESCRIBE THE RETURN VALUE

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection