Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## rice.p2p.past.rawserialization
Class JavaSerializedPastContentHandle

    java.lang.Object
      rice.p2p.past.rawserialization.JavaSerializedPastContentHandle

All Implemented Interfaces:
  java.io.Serializable, PastContentHandle, RawPastContentHandle

    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()` Converts to a String representation of the object.

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()

  Converts to a String representation of the object.

  Overrides:
    `toString` in class `java.lang.Object`
  Returns:
    A string representation of the object.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Rice Pastry API
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 2001-2005 - Rice Pastry.