|
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.testing.MySplitStreamClient
Field Summary | |
static int |
msgSize
DESCRIBE THE FIELD |
static int |
SEND_PERIOD
DESCRIBE THE FIELD |
Constructor Summary | |
MySplitStreamClient(PastryNode n,
java.lang.String instance)
Constructor for MySplitStreamClient. |
Method Summary | |
void |
attachChannel(ChannelId cid)
DESCRIBE THE METHOD |
void |
deliver(Stripe s,
byte[] data)
DESCRIBE THE METHOD |
Stripe[] |
getStripes()
Gets the Stripes attribute of the MySplitStreamClient object |
void |
joinFailed(Stripe s)
DESCRIBE THE METHOD |
void |
publish(byte[] b,
Stripe s)
DESCRIBE THE METHOD |
void |
publish(Id id,
int seq)
DESCRIBE THE METHOD |
void |
publishAll(byte[] b)
DESCRIBE THE METHOD |
void |
publishNext()
DESCRIBE THE METHOD |
boolean |
shouldPublish()
DESCRIBE THE METHOD |
void |
startPublishTask()
|
void |
subscribeToAllChannels()
DESCRIBE THE METHOD |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static int SEND_PERIOD
public static int msgSize
Constructor Detail |
public MySplitStreamClient(PastryNode n, java.lang.String instance)
n
- DESCRIBE THE PARAMETERinstance
- DESCRIBE THE PARAMETERMethod Detail |
public Stripe[] getStripes()
public void attachChannel(ChannelId cid)
cid
- DESCRIBE THE PARAMETERpublic void subscribeToAllChannels()
public boolean shouldPublish()
public void publishNext()
public void publish(Id id, int seq)
id
- DESCRIBE THE PARAMETERseq
- DESCRIBE THE PARAMETERpublic void publishAll(byte[] b)
b
- DESCRIBE THE PARAMETERpublic void publish(byte[] b, Stripe s)
b
- DESCRIBE THE PARAMETERs
- DESCRIBE THE PARAMETERpublic void joinFailed(Stripe s)
joinFailed
in interface SplitStreamClient
s
- DESCRIBE THE PARAMETERpublic void deliver(Stripe s, byte[] data)
deliver
in interface SplitStreamClient
s
- DESCRIBE THE PARAMETERdata
- DESCRIBE THE PARAMETERpublic void startPublishTask()
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |