Rice Pastry API

rice.p2p.splitstream
Class SplitStreamContent

java.lang.Object
  |
  +--rice.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.5 2003/10/22 03:22:57 amislove 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
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, 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

Rice Pastry API

Copyright © 2001 - Rice Pastry.


Imprint-Dataprotection