Rice Pastry API

rice.p2p.past.testing
Class RawPastRegrTest.VersionedTestPastContent

java.lang.Object
  extended byrice.p2p.past.testing.RawPastRegrTest.TestPastContent
      extended byrice.p2p.past.testing.RawPastRegrTest.VersionedTestPastContent
All Implemented Interfaces:
PastContent, RawPastContent, java.io.Serializable
Direct Known Subclasses:
RawPastRegrTest.NonOverwritingTestPastContent
Enclosing class:
RawPastRegrTest

protected static class RawPastRegrTest.VersionedTestPastContent
extends RawPastRegrTest.TestPastContent

DESCRIBE THE CLASS

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

Field Summary
static short TYPE
          DESCRIBE THE FIELD
protected  int version
          DESCRIBE THE FIELD
 
Fields inherited from class rice.p2p.past.testing.RawPastRegrTest.TestPastContent
existing, id
 
Constructor Summary
RawPastRegrTest.VersionedTestPastContent(Id id, int version)
          Constructor for VersionedTestPastContent.
RawPastRegrTest.VersionedTestPastContent(InputBuffer buf, Endpoint endpoint, PastContentDeserializer pcd)
          Constructor for VersionedTestPastContent.
 
Method Summary
 boolean equals(java.lang.Object o)
          DESCRIBE THE METHOD
 short getType()
          Gets the Type attribute of the VersionedTestPastContent object
 void serialize(OutputBuffer buf)
          DESCRIBE THE METHOD
 java.lang.String toString()
          DESCRIBE THE METHOD
 
Methods inherited from class rice.p2p.past.testing.RawPastRegrTest.TestPastContent
checkInsert, getHandle, getId, isMutable
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

version

protected int version
DESCRIBE THE FIELD


TYPE

public static final short TYPE
DESCRIBE THE FIELD

See Also:
Constant Field Values
Constructor Detail

RawPastRegrTest.VersionedTestPastContent

public RawPastRegrTest.VersionedTestPastContent(Id id,
                                                int version)
Constructor for VersionedTestPastContent.

Parameters:
id - DESCRIBE THE PARAMETER
version - DESCRIBE THE PARAMETER

RawPastRegrTest.VersionedTestPastContent

public RawPastRegrTest.VersionedTestPastContent(InputBuffer buf,
                                                Endpoint endpoint,
                                                PastContentDeserializer pcd)
                                         throws java.io.IOException
Constructor for VersionedTestPastContent.

Parameters:
buf - DESCRIBE THE PARAMETER
endpoint - DESCRIBE THE PARAMETER
pcd - DESCRIBE THE PARAMETER
Throws:
java.io.IOException - DESCRIBE THE EXCEPTION
Method Detail

getType

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

Specified by:
getType in interface RawPastContent
Overrides:
getType in class RawPastRegrTest.TestPastContent
Returns:
The Type value

equals

public boolean equals(java.lang.Object o)
DESCRIBE THE METHOD

Overrides:
equals in class RawPastRegrTest.TestPastContent
Parameters:
o - DESCRIBE THE PARAMETER
Returns:
DESCRIBE THE RETURN VALUE

toString

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

Overrides:
toString in class RawPastRegrTest.TestPastContent
Returns:
DESCRIBE THE RETURN VALUE

serialize

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

Specified by:
serialize in interface RawPastContent
Overrides:
serialize in class RawPastRegrTest.TestPastContent
Parameters:
buf - DESCRIBE THE PARAMETER
Throws:
java.io.IOException - DESCRIBE THE EXCEPTION

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection