|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectrice.p2p.splitstream.testing.MySplitStreamClient
| 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 |
| Constructor Detail |
public MySplitStreamClient(PastryNode n,
java.lang.String instance)
n - DESCRIBE THE PARAMETERinstance - DESCRIBE THE PARAMETER| Method 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 PARAMETER
public void publish(byte[] b,
Stripe s)
b - DESCRIBE THE PARAMETERs - DESCRIBE THE PARAMETERpublic void joinFailed(Stripe s)
joinFailed in interface SplitStreamClients - DESCRIBE THE PARAMETER
public void deliver(Stripe s,
byte[] data)
deliver in interface SplitStreamClients - 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 | ||||||||||