|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object rice.p2p.splitstream.SplitStreamContent
public class SplitStreamContent
This represents data sent through scribe for splitstream
Field Summary | |
---|---|
protected byte[] |
data
The internal data - just the bytes |
static short |
TYPE
|
Constructor Summary | |
---|---|
SplitStreamContent(byte[] data)
Constructor taking in a byte[] |
|
SplitStreamContent(InputBuffer buf)
|
Method Summary | |
---|---|
byte[] |
getData()
Returns the data for this content |
short |
getType()
Raw Serialization |
void |
serialize(OutputBuffer buf)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final short TYPE
protected byte[] data
Constructor Detail |
---|
public SplitStreamContent(byte[] data)
data
- The data for this contentpublic SplitStreamContent(InputBuffer buf) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public byte[] getData()
public short getType()
getType
in interface RawScribeContent
public void serialize(OutputBuffer buf) throws java.io.IOException
serialize
in interface RawScribeContent
java.io.IOException
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |