Rice Pastry API

rice.p2p.past.gc.rawserialization
Class JavaSerializedGCPastContentHandle

java.lang.Object
  extended byrice.p2p.past.gc.rawserialization.JavaSerializedGCPastContentHandle
All Implemented Interfaces:
GCPastContentHandle, PastContentHandle, RawGCPastContentHandle, RawPastContentHandle, java.io.Serializable

public class JavaSerializedGCPastContentHandle
extends java.lang.Object
implements RawGCPastContentHandle

DESCRIBE THE CLASS

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

Field Summary
 GCPastContentHandle handle
          DESCRIBE THE FIELD
static short TYPE
          DESCRIBE THE FIELD
 
Constructor Summary
JavaSerializedGCPastContentHandle(GCPastContentHandle handle)
          Constructor for JavaSerializedGCPastContentHandle.
 
Method Summary
 long getExpiration()
          Gets the Expiration attribute of the JavaSerializedGCPastContentHandle object
 Id getId()
          Gets the Id attribute of the JavaSerializedGCPastContentHandle object
 NodeHandle getNodeHandle()
          Gets the NodeHandle attribute of the JavaSerializedGCPastContentHandle object
 PastContentHandle getPCH()
          Gets the PCH attribute of the JavaSerializedGCPastContentHandle object
 short getType()
          Gets the Type attribute of the JavaSerializedGCPastContentHandle object
 long getVersion()
          Gets the Version attribute of the JavaSerializedGCPastContentHandle 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 GCPastContentHandle handle
DESCRIBE THE FIELD


TYPE

public static final short TYPE
DESCRIBE THE FIELD

See Also:
Constant Field Values
Constructor Detail

JavaSerializedGCPastContentHandle

public JavaSerializedGCPastContentHandle(GCPastContentHandle handle)
Constructor for JavaSerializedGCPastContentHandle.

Parameters:
handle - DESCRIBE THE PARAMETER
Method Detail

getType

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

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

getId

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

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

getNodeHandle

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

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

getPCH

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

Returns:
The PCH value

getVersion

public long getVersion()
Gets the Version attribute of the JavaSerializedGCPastContentHandle object

Specified by:
getVersion in interface GCPastContentHandle
Returns:
The Version value

getExpiration

public long getExpiration()
Gets the Expiration attribute of the JavaSerializedGCPastContentHandle object

Specified by:
getExpiration in interface GCPastContentHandle
Returns:
The Expiration 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