|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectplanet.test.scribe.ScribeClientTest
Field Summary | |
protected boolean |
acceptAnycast
Whether or not this client should accept anycasts |
protected java.lang.String |
id
|
protected boolean |
subscribeFailed
Whether this client has had a subscribe fail |
Constructor Summary | |
ScribeClientTest(java.lang.String id)
Constructor. |
Method Summary | |
void |
acceptAnycast(boolean value)
|
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 |
boolean |
getSubscribeFailed()
|
boolean |
isActivated()
|
void |
subscribeFailed(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 java.lang.String id
protected boolean acceptAnycast
protected boolean subscribeFailed
Constructor Detail |
public ScribeClientTest(java.lang.String id)
Method Detail |
public void acceptAnycast(boolean value)
public boolean anycast(Topic topic, ScribeContent content)
anycast
in interface ScribeClient
topic
- DESCRIBE THE PARAMETERcontent
- DESCRIBE THE PARAMETER
public void deliver(Topic topic, ScribeContent content)
deliver
in interface ScribeClient
topic
- DESCRIBE THE PARAMETERcontent
- DESCRIBE THE PARAMETERpublic void childAdded(Topic topic, NodeHandle child)
childAdded
in interface ScribeClient
topic
- DESCRIBE THE PARAMETERchild
- DESCRIBE THE PARAMETERpublic void childRemoved(Topic topic, NodeHandle child)
childRemoved
in interface ScribeClient
topic
- DESCRIBE THE PARAMETERchild
- DESCRIBE THE PARAMETERpublic void subscribeFailed(Topic topic)
ScribeClient
subscribeFailed
in interface ScribeClient
topic
- The topic which the subscribe failed onpublic boolean getSubscribeFailed()
public boolean isActivated()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |