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.scribe.rawserialization
Class JavaSerializedScribeContent

    java.lang.Object
      rice.p2p.scribe.rawserialization.JavaSerializedScribeContent

All Implemented Interfaces:
  java.io.Serializable, RawScribeContent, ScribeContent

    public class JavaSerializedScribeContent

extends java.lang.Object
implements RawScribeContent

DESCRIBE THE CLASS

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

Field Summary
`ScribeContent` | `content` DESCRIBE THE FIELD
`static short` | `TYPE` DESCRIBE THE FIELD

Constructor Summary
`JavaSerializedScribeContent(ScribeContent content)` Constructor for JavaSerializedScribeContent.

Method Summary
`ScribeContent` | `getContent()` Gets the Content attribute of the JavaSerializedScribeContent object
`short` | `getType()` Gets the Type attribute of the JavaSerializedScribeContent 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

### content

    public ScribeContent content

  DESCRIBE THE FIELD

### TYPE

    public static final short TYPE

  DESCRIBE THE FIELD

  See Also:
    Constant Field Values

Constructor Detail

### JavaSerializedScribeContent

    public JavaSerializedScribeContent(ScribeContent content)

  Constructor for JavaSerializedScribeContent.

  Parameters:
    `content` - DESCRIBE THE PARAMETER

Method Detail

### getType

    public short getType()

  Gets the Type attribute of the JavaSerializedScribeContent object

  Specified by:
    `getType` in interface `RawScribeContent`
  Returns:
    The Type value

### getContent

    public ScribeContent getContent()

  Gets the Content attribute of the JavaSerializedScribeContent object

  Returns:
    The Content value

### serialize

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

  DESCRIBE THE METHOD

  Specified by:
    `serialize` in interface `RawScribeContent`
  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.