Rice Pastry API

Uses of Class
rice.p2p.scribe.Topic

Packages that use Topic
rice.p2p.scribe   
rice.p2p.scribe.messaging   
rice.p2p.scribe.testing   
rice.p2p.splitstream   
 

Uses of Topic in rice.p2p.scribe
 

Fields in rice.p2p.scribe declared as Topic
protected  rice.p2p.scribe.Topic ScribeImpl.TopicManager.topic
          DESCRIBE THE FIELD
 

Methods in rice.p2p.scribe with parameters of type Topic
 void Scribe.subscribe(rice.p2p.scribe.Topic topic, rice.p2p.scribe.ScribeClient client)
          Subscribes the given client to the provided topic.
 void Scribe.subscribe(rice.p2p.scribe.Topic topic, rice.p2p.scribe.ScribeClient client, rice.p2p.scribe.ScribeContent content)
          Subscribes the given client to the provided topic.
 void Scribe.unsubscribe(rice.p2p.scribe.Topic topic, rice.p2p.scribe.ScribeClient client)
          Unsubscribes the given client from the provided topic.
 void Scribe.publish(rice.p2p.scribe.Topic topic, rice.p2p.scribe.ScribeContent content)
          Publishes the given message to the topic.
 void Scribe.anycast(rice.p2p.scribe.Topic topic, rice.p2p.scribe.ScribeContent content)
          Anycasts the given content to a member of the given topic
 boolean Scribe.isRoot(rice.p2p.scribe.Topic topic)
          Returns whether or not this Scribe is the root for the given topic
 rice.p2p.commonapi.NodeHandle[] Scribe.getChildren(rice.p2p.scribe.Topic topic)
          Returns the list of children for a given topic
 void Scribe.addChild(rice.p2p.scribe.Topic topic, rice.p2p.commonapi.NodeHandle child)
          Adds a child to the given topic
 void Scribe.removeChild(rice.p2p.scribe.Topic topic, rice.p2p.commonapi.NodeHandle child)
          Removes a child from the given topic
 boolean ScribeClient.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 ScribeClient.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 ScribeClient.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 ScribeClient.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 ScribeClient.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.
 rice.p2p.scribe.ScribeClient[] ScribeImpl.getClients(rice.p2p.scribe.Topic topic)
          Returns the list of clients for a given topic
 rice.p2p.commonapi.NodeHandle[] ScribeImpl.getChildren(rice.p2p.scribe.Topic topic)
          Returns the list of children for a given topic
 rice.p2p.commonapi.NodeHandle ScribeImpl.getParent(rice.p2p.scribe.Topic topic)
          Returns the parent for a given topic
 boolean ScribeImpl.isRoot(rice.p2p.scribe.Topic topic)
          Returns whether or not this Scribe is the root for the given topic
 void ScribeImpl.subscribe(rice.p2p.scribe.Topic topic, rice.p2p.scribe.ScribeClient client)
          Subscribes the given client to the provided topic.
 void ScribeImpl.subscribe(rice.p2p.scribe.Topic topic, rice.p2p.scribe.ScribeClient client, rice.p2p.scribe.ScribeContent content)
          Subscribes the given client to the provided topic.
 void ScribeImpl.unsubscribe(rice.p2p.scribe.Topic topic, rice.p2p.scribe.ScribeClient client)
          Unsubscribes the given client from the provided topic.
 void ScribeImpl.publish(rice.p2p.scribe.Topic topic, rice.p2p.scribe.ScribeContent content)
          Publishes the given message to the topic.
 void ScribeImpl.anycast(rice.p2p.scribe.Topic topic, rice.p2p.scribe.ScribeContent content)
          Anycasts the given content to a member of the given topic
 void ScribeImpl.addChild(rice.p2p.scribe.Topic topic, rice.p2p.commonapi.NodeHandle child)
          Adds a child to the given topic
 void ScribeImpl.removeChild(rice.p2p.scribe.Topic topic, rice.p2p.commonapi.NodeHandle child)
          Removes a child from the given topic
protected  void ScribeImpl.removeChild(rice.p2p.scribe.Topic topic, rice.p2p.commonapi.NodeHandle child, boolean sendDrop)
          Removes a child from the given topic
 

Constructors in rice.p2p.scribe with parameters of type Topic
ScribeImpl.TopicManager(rice.p2p.scribe.Topic topic, rice.p2p.scribe.ScribeClient client)
          Constructor for TopicManager.
ScribeImpl.TopicManager(rice.p2p.scribe.Topic topic, rice.p2p.commonapi.NodeHandle child)
          Constructor for TopicManager.
ScribeImpl.TopicManager(rice.p2p.scribe.Topic topic)
          Constructor for TopicManager.
 

Uses of Topic in rice.p2p.scribe.messaging
 

Fields in rice.p2p.scribe.messaging declared as Topic
protected  rice.p2p.scribe.Topic ScribeMessage.topic
           
 

Methods in rice.p2p.scribe.messaging that return Topic
 rice.p2p.scribe.Topic ScribeMessage.getTopic()
          Method which returns this messages' topic
 

Constructors in rice.p2p.scribe.messaging with parameters of type Topic
AbstractSubscribeMessage(rice.p2p.commonapi.NodeHandle source, rice.p2p.scribe.Topic topic, int id)
          Constructor which takes a unique integer Id
AnycastMessage(rice.p2p.commonapi.NodeHandle source, rice.p2p.scribe.Topic topic, rice.p2p.scribe.ScribeContent content)
          Constructor which takes a unique integer Id
DropMessage(rice.p2p.commonapi.NodeHandle source, rice.p2p.scribe.Topic topic)
          Constructor which takes a unique integer Id
PublishMessage(rice.p2p.commonapi.NodeHandle source, rice.p2p.scribe.Topic topic, rice.p2p.scribe.ScribeContent content)
          Constructor which takes a unique integer Id
PublishRequestMessage(rice.p2p.commonapi.NodeHandle source, rice.p2p.scribe.Topic topic, rice.p2p.scribe.ScribeContent content)
          Constructor which takes a unique integer Id
ScribeMessage(rice.p2p.commonapi.NodeHandle source, rice.p2p.scribe.Topic topic)
          Constructor which takes a unique integer Id
SubscribeAckMessage(rice.p2p.commonapi.NodeHandle source, rice.p2p.scribe.Topic topic, rice.p2p.commonapi.Id[] pathToRoot, int id)
          Constructor which takes a unique integer Id
SubscribeFailedMessage(rice.p2p.commonapi.NodeHandle source, rice.p2p.scribe.Topic topic, int id)
          Constructor which takes a unique integer Id
SubscribeLostMessage(rice.p2p.commonapi.NodeHandle source, rice.p2p.scribe.Topic topic, int id)
          Constructor which takes a unique integer Id
SubscribeMessage(rice.p2p.commonapi.NodeHandle source, rice.p2p.scribe.Topic topic, int id, rice.p2p.scribe.ScribeContent content)
          Constructor which takes a unique integer Id
SubscribeMessage(rice.p2p.commonapi.NodeHandle source, rice.p2p.scribe.Topic topic, rice.p2p.commonapi.Id previousParent, int id, rice.p2p.scribe.ScribeContent content)
          Constructor which takes a unique integer Id
UnsubscribeMessage(rice.p2p.commonapi.NodeHandle source, rice.p2p.scribe.Topic topic)
          Constructor which takes a unique integer Id
 

Uses of Topic in rice.p2p.scribe.testing
 

Fields in rice.p2p.scribe.testing declared as Topic
protected  rice.p2p.scribe.Topic ScribeRegrTest.TestScribeContent.topic
          DESCRIBE THE FIELD
protected  rice.p2p.scribe.Topic ScribeRegrTest.TestScribeClient.topic
          The topic this client is listening for
 

Methods in rice.p2p.scribe.testing with parameters of type Topic
 boolean ScribeRegrTest.TestScribeClient.anycast(rice.p2p.scribe.Topic topic, rice.p2p.scribe.ScribeContent content)
          DESCRIBE THE METHOD
 void ScribeRegrTest.TestScribeClient.deliver(rice.p2p.scribe.Topic topic, rice.p2p.scribe.ScribeContent content)
          DESCRIBE THE METHOD
 void ScribeRegrTest.TestScribeClient.childAdded(rice.p2p.scribe.Topic topic, rice.p2p.commonapi.NodeHandle child)
          DESCRIBE THE METHOD
 void ScribeRegrTest.TestScribeClient.childRemoved(rice.p2p.scribe.Topic topic, rice.p2p.commonapi.NodeHandle child)
          DESCRIBE THE METHOD
 void ScribeRegrTest.TestScribeClient.subscribeFailed(rice.p2p.scribe.Topic topic)
           
 

Constructors in rice.p2p.scribe.testing with parameters of type Topic
ScribeRegrTest.TestScribeContent(rice.p2p.scribe.Topic topic, int num)
          Constructor for TestScribeContent.
ScribeRegrTest.TestScribeClient(rice.p2p.scribe.ScribeImpl scribe, rice.p2p.scribe.Topic topic, int i)
          Constructor for TestScribeClient.
 

Uses of Topic in rice.p2p.splitstream
 

Fields in rice.p2p.splitstream declared as Topic
protected  rice.p2p.scribe.Topic Stripe.topic
          The topic corresponding to this stripeId
 

Methods in rice.p2p.splitstream with parameters of type Topic
 boolean Stripe.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 Stripe.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 Stripe.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 Stripe.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 Stripe.subscribeFailed(rice.p2p.scribe.Topic topic)
          Informs this client that a subscription failed
 


Rice Pastry API

Copyright © 2001 - Rice Pastry.


Imprint-Dataprotection