Rice Pastry API

rice.p2p.scribe.rawserialization
Class JavaSerializedScribeContent

java.lang.Object
  extended byrice.p2p.scribe.rawserialization.JavaSerializedScribeContent
All Implemented Interfaces:
RawScribeContent, ScribeContent, java.io.Serializable

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()
          DESCRIBE THE METHOD
 
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()
DESCRIBE THE METHOD

Returns:
DESCRIBE THE RETURN VALUE

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection