|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object | +--rice.p2p.scribe.testing.ScribeRegrTest.TestScribeClient
DESCRIBE THE CLASS
| Field Summary | |
protected boolean |
acceptAnycast
Whether or not this client should accept anycasts |
protected java.util.Vector |
anycastMessages
The publish messages received so far |
protected int |
i
DESCRIBE THE FIELD |
protected java.util.Vector |
publishMessages
The publish messages received so far |
protected rice.p2p.scribe.ScribeImpl |
scribe
DESCRIBE THE FIELD |
protected boolean |
subscribeFailed
Whether this client has had a subscribe fail |
protected rice.p2p.scribe.Topic |
topic
The topic this client is listening for |
| Constructor Summary | |
ScribeRegrTest.TestScribeClient(rice.p2p.scribe.ScribeImpl scribe,
rice.p2p.scribe.Topic topic,
int i)
Constructor for TestScribeClient. |
|
| Method Summary | |
void |
acceptAnycast(boolean value)
|
boolean |
anycast(rice.p2p.scribe.Topic topic,
rice.p2p.scribe.ScribeContent content)
DESCRIBE THE METHOD |
void |
childAdded(rice.p2p.scribe.Topic topic,
rice.p2p.commonapi.NodeHandle child)
DESCRIBE THE METHOD |
void |
childRemoved(rice.p2p.scribe.Topic topic,
rice.p2p.commonapi.NodeHandle child)
DESCRIBE THE METHOD |
void |
deliver(rice.p2p.scribe.Topic topic,
rice.p2p.scribe.ScribeContent content)
DESCRIBE THE METHOD |
rice.p2p.scribe.ScribeContent[] |
getAnycastMessages()
|
rice.p2p.scribe.ScribeContent[] |
getPublishMessages()
|
boolean |
getSubscribeFailed()
|
void |
subscribeFailed(rice.p2p.scribe.Topic topic)
Informs the client that a subscribe on the given topic failed - the client should retry the subscribe or take appropriate action. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected rice.p2p.scribe.ScribeImpl scribe
protected int i
protected java.util.Vector publishMessages
protected java.util.Vector anycastMessages
protected rice.p2p.scribe.Topic topic
protected boolean acceptAnycast
protected boolean subscribeFailed
| Constructor Detail |
public ScribeRegrTest.TestScribeClient(rice.p2p.scribe.ScribeImpl scribe,
rice.p2p.scribe.Topic topic,
int i)
scribe - DESCRIBE THE PARAMETERi - DESCRIBE THE PARAMETER| Method Detail |
public rice.p2p.scribe.ScribeContent[] getPublishMessages()
public rice.p2p.scribe.ScribeContent[] getAnycastMessages()
public void acceptAnycast(boolean value)
public boolean anycast(rice.p2p.scribe.Topic topic,
rice.p2p.scribe.ScribeContent content)
anycast in interface ScribeClienttopic - DESCRIBE THE PARAMETERcontent - DESCRIBE THE PARAMETER
public void deliver(rice.p2p.scribe.Topic topic,
rice.p2p.scribe.ScribeContent content)
deliver in interface ScribeClienttopic - DESCRIBE THE PARAMETERcontent - DESCRIBE THE PARAMETER
public void childAdded(rice.p2p.scribe.Topic topic,
rice.p2p.commonapi.NodeHandle child)
childAdded in interface ScribeClienttopic - DESCRIBE THE PARAMETERchild - DESCRIBE THE PARAMETER
public void childRemoved(rice.p2p.scribe.Topic topic,
rice.p2p.commonapi.NodeHandle child)
childRemoved in interface ScribeClienttopic - DESCRIBE THE PARAMETERchild - DESCRIBE THE PARAMETERpublic void subscribeFailed(rice.p2p.scribe.Topic topic)
ScribeClient
subscribeFailed in interface ScribeClienttopic - The topic which the subscribe failed onpublic boolean getSubscribeFailed()
|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||