|
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.SplitStreamSubscribeContent
public class SplitStreamSubscribeContent
This represents data sent through scribe for splitstream during a subscribe
Field Summary | |
---|---|
protected int |
stage
The stage that the client attempting to join is in |
static int |
STAGE_FINAL
The final stage of the join process |
static int |
STAGE_NON_FINAL
The first stage of the join process |
static short |
TYPE
|
Constructor Summary | |
---|---|
SplitStreamSubscribeContent(InputBuffer buf)
|
|
SplitStreamSubscribeContent(int stage)
Constructor taking in a byte[] |
Method Summary | |
---|---|
int |
getStage()
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
public static int STAGE_NON_FINAL
public static int STAGE_FINAL
protected int stage
Constructor Detail |
---|
public SplitStreamSubscribeContent(int stage)
data
- The data for this contentpublic SplitStreamSubscribeContent(InputBuffer buf) throws java.io.IOException
java.io.IOException
Method Detail |
---|
public int getStage()
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 |