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.glacier
Class Fragment

    java.lang.Object
      rice.p2p.glacier.Fragment

All Implemented Interfaces:
  java.io.Serializable

    public class Fragment

extends java.lang.Object
implements java.io.Serializable

DESCRIBE THE CLASS

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

Field Summary
`byte[]` | `payload` DESCRIBE THE FIELD

Constructor Summary
`Fragment(InputBuffer buf)` Constructor for Fragment.
`Fragment(int _size)` Constructor for Fragment.

Method Summary
`byte[]` | `getPayload()` Gets the Payload attribute of the Fragment object
`void` | `serialize(OutputBuffer buf)` DESCRIBE THE METHOD

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Field Detail

### payload

    public transient byte[] payload

  DESCRIBE THE FIELD

Constructor Detail

### Fragment

    public Fragment(int _size)

  Constructor for Fragment.

  Parameters:
    `_size` - DESCRIBE THE PARAMETER

### Fragment

    public Fragment(InputBuffer buf)
             throws java.io.IOException

  Constructor for Fragment.

  Parameters:
    `buf` - DESCRIBE THE PARAMETER
  Throws:
    `java.io.IOException` - DESCRIBE THE EXCEPTION

Method Detail

### getPayload

    public byte[] getPayload()

  Gets the Payload attribute of the Fragment object

  Returns:
    The Payload value

### serialize

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

  DESCRIBE THE METHOD

  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.