|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Method Summary | |
boolean |
anycast(rice.p2p.scribe.Topic topic,
rice.p2p.scribe.ScribeContent content)
This method is invoked when an anycast is received for a topic which this client is interested in. |
void |
childAdded(rice.p2p.scribe.Topic topic,
rice.p2p.commonapi.NodeHandle child)
Informs this client that a child was added to a topic in which it was interested in. |
void |
childRemoved(rice.p2p.scribe.Topic topic,
rice.p2p.commonapi.NodeHandle child)
Informs this client that a child was removed from a topic in which it was interested in. |
void |
deliver(rice.p2p.scribe.Topic topic,
rice.p2p.scribe.ScribeContent content)
This method is invoked when a message is delivered for a topic this client is interested in. |
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. |
Method Detail |
public boolean anycast(rice.p2p.scribe.Topic topic, rice.p2p.scribe.ScribeContent content)
topic
- The topic the message was anycasted tocontent
- The content which was anycasted
public void deliver(rice.p2p.scribe.Topic topic, rice.p2p.scribe.ScribeContent content)
topic
- The topic the message was published tocontent
- The content which was publishedpublic void childAdded(rice.p2p.scribe.Topic topic, rice.p2p.commonapi.NodeHandle child)
topic
- The topic to unsubscribe fromchild
- The child that was addedpublic void childRemoved(rice.p2p.scribe.Topic topic, rice.p2p.commonapi.NodeHandle child)
topic
- The topic to unsubscribe fromchild
- The child that was removedpublic void subscribeFailed(rice.p2p.scribe.Topic topic)
topic
- The topic which the subscribe failed on
|
Rice Pastry API | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |