|
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
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
DESCRIBE THE FIELD |
Constructor Summary | |
SplitStreamSubscribeContent(InputBuffer buf)
Constructor for SplitStreamSubscribeContent. |
|
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)
DESCRIBE THE METHOD |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected int stage
public static final short TYPE
public static int STAGE_NON_FINAL
public static int STAGE_FINAL
Constructor Detail |
public SplitStreamSubscribeContent(int stage)
stage
- DESCRIBE THE PARAMETERpublic SplitStreamSubscribeContent(InputBuffer buf) throws java.io.IOException
buf
- DESCRIBE THE PARAMETER
java.io.IOException
- DESCRIBE THE EXCEPTIONMethod Detail |
public int getStage()
public short getType()
getType
in interface RawScribeContent
public void serialize(OutputBuffer buf) throws java.io.IOException
serialize
in interface RawScribeContent
buf
- DESCRIBE THE PARAMETER
java.io.IOException
- DESCRIBE THE EXCEPTION
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |