Rice Pastry API

rice.p2p.glacier
Class Fragment

java.lang.Object
  extended by rice.p2p.glacier.Fragment
All Implemented Interfaces:
java.io.Serializable

public class Fragment
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
 byte[] payload
           
 
Constructor Summary
Fragment(InputBuffer buf)
           
Fragment(int _size)
           
 
Method Summary
 byte[] getPayload()
           
 void serialize(OutputBuffer buf)
           
 
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
Constructor Detail

Fragment

public Fragment(int _size)

Fragment

public Fragment(InputBuffer buf)
         throws java.io.IOException
Throws:
java.io.IOException
Method Detail

getPayload

public byte[] getPayload()

serialize

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

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection