|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectrice.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 ScribeImpl |
scribe
DESCRIBE THE FIELD |
protected boolean |
subscribeFailed
Whether this client has had a subscribe fail |
protected Topic |
topic
The topic this client is listening for |
| Constructor Summary | |
ScribeRegrTest.TestScribeClient(ScribeImpl scribe,
Topic topic,
int i)
Constructor for TestScribeClient. |
|
| Method Summary | |
void |
acceptAnycast(boolean value)
DESCRIBE THE METHOD |
boolean |
anycast(Topic topic,
ScribeContent content)
DESCRIBE THE METHOD |
void |
childAdded(Topic topic,
NodeHandle child)
DESCRIBE THE METHOD |
void |
childRemoved(Topic topic,
NodeHandle child)
DESCRIBE THE METHOD |
void |
deliver(Topic topic,
ScribeContent content)
DESCRIBE THE METHOD |
ScribeContent[] |
getAnycastMessages()
Gets the AnycastMessages attribute of the TestScribeClient object |
ScribeContent[] |
getPublishMessages()
Gets the PublishMessages attribute of the TestScribeClient object |
boolean |
getSubscribeFailed()
Gets the SubscribeFailed attribute of the TestScribeClient object |
void |
subscribeFailed(Topic topic)
DESCRIBE THE METHOD |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
protected ScribeImpl scribe
protected int i
protected java.util.Vector publishMessages
protected java.util.Vector anycastMessages
protected Topic topic
protected boolean acceptAnycast
protected boolean subscribeFailed
| Constructor Detail |
public ScribeRegrTest.TestScribeClient(ScribeImpl scribe,
Topic topic,
int i)
scribe - DESCRIBE THE PARAMETERi - DESCRIBE THE PARAMETERtopic - DESCRIBE THE PARAMETER| Method Detail |
public ScribeContent[] getPublishMessages()
public ScribeContent[] getAnycastMessages()
public boolean getSubscribeFailed()
public void acceptAnycast(boolean value)
value - DESCRIBE THE PARAMETER
public boolean anycast(Topic topic,
ScribeContent content)
anycast in interface ScribeClienttopic - DESCRIBE THE PARAMETERcontent - DESCRIBE THE PARAMETER
public void deliver(Topic topic,
ScribeContent content)
deliver in interface ScribeClienttopic - DESCRIBE THE PARAMETERcontent - DESCRIBE THE PARAMETER
public void childAdded(Topic topic,
NodeHandle child)
childAdded in interface ScribeClienttopic - DESCRIBE THE PARAMETERchild - DESCRIBE THE PARAMETER
public void childRemoved(Topic topic,
NodeHandle child)
childRemoved in interface ScribeClienttopic - DESCRIBE THE PARAMETERchild - DESCRIBE THE PARAMETERpublic void subscribeFailed(Topic topic)
subscribeFailed in interface ScribeClienttopic - DESCRIBE THE PARAMETER
|
Rice Pastry API | ||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||