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.testing
Class RawPastRegrTest.VersionedTestPastContent

    java.lang.Object
      rice.p2p.past.testing.RawPastRegrTest.TestPastContent
          rice.p2p.past.testing.RawPastRegrTest.VersionedTestPastContent

All Implemented Interfaces:
  java.io.Serializable, PastContent, RawPastContent

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)` Compares this to the parameter.
`short` | `getType()` Gets the Type attribute of the VersionedTestPastContent object
`void` | `serialize(OutputBuffer buf)` DESCRIBE THE METHOD
`java.lang.String` | `toString()` Converts to a String representation of the object.

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)

  Compares this to the parameter.

  Overrides:
    `equals` in class `RawPastRegrTest.TestPastContent`
  Parameters:
    `o` - the reference object with which to compare.
  Returns:
    `true` if this object is the same as the obj argument; `false` otherwise.

### toString

    public java.lang.String toString()

  Converts to a String representation of the object.

  Overrides:
    `toString` in class `RawPastRegrTest.TestPastContent`
  Returns:
    A string representation of the object.

### 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

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.