Rice Pastry API

rice.p2p.splitstream
Class SplitStreamContent

java.lang.Object
  extended byrice.p2p.splitstream.SplitStreamContent
All Implemented Interfaces:
ScribeContent, java.io.Serializable

public class SplitStreamContent
extends java.lang.Object
implements ScribeContent

This represents data sent through scribe for splitstream

Version:
$Id: SplitStreamContent.java,v 1.7 2005/03/11 00:57:59 jeffh Exp $
Author:
Alan Mislove
See Also:
Serialized Form

Field Summary
protected  byte[] data
          The internal data - just the bytes
 
Constructor Summary
SplitStreamContent(byte[] data)
          Constructor taking in a byte[]
 
Method Summary
 byte[] getData()
          Returns the data for this content
 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

data

protected byte[] data
The internal data - just the bytes

Constructor Detail

SplitStreamContent

public SplitStreamContent(byte[] data)
Constructor taking in a byte[]

Parameters:
data - The data for this content
Method Detail

getData

public byte[] getData()
Returns the data for this content

Returns:
The data for this content

toString

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

Returns:
DESCRIBE THE RETURN VALUE

Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection