Rice Pastry API

Uses of Class
rice.p2p.scribe.Topic

Packages that use Topic
rice.p2p.multiring   
rice.p2p.scribe   
rice.p2p.scribe.messaging   
rice.p2p.scribe.testing   
rice.p2p.splitstream   
rice.pastry.testing   
rice.tutorial.scribe   
 

Uses of Topic in rice.p2p.multiring
 

Methods in rice.p2p.multiring with parameters of type Topic
 boolean MultiringNode.anycast(Topic topic, ScribeContent content)
          This method is invoked when an anycast is received for a topic which this client is interested in.
 void MultiringNode.childAdded(Topic topic, NodeHandle child)
          Informs this client that a child was added to a topic in which it was interested in.
 void MultiringNode.childRemoved(Topic topic, NodeHandle child)
          Informs this client that a child was removed from a topic in which it was interested in.
 void MultiringNode.deliver(Topic topic, ScribeContent content)
          This method is invoked when a message is delivered for a topic this client is interested in.
 void MultiringNode.subscribeFailed(Topic topic)
          Informs the client that a subscribe on the given topic failed - the client should retry the subscribe or take appropriate action.
 

Uses of Topic in rice.p2p.scribe
 

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

Fields in rice.p2p.scribe with type parameters of type Topic
 java.util.HashMap<NodeHandle,java.util.List<Topic>> ScribeImpl.allChildren
          This contains a mapping of child - > all topics for which the local node has this node(hashtable key) as a child
 java.util.HashMap<NodeHandle,java.util.List<Topic>> ScribeImpl.allParents
          This contains a mapping of parent - > all topics for which the local node has this node(hashtable key) as a parent
 java.util.Hashtable<Topic,ScribeImpl.TopicManager> ScribeImpl.topics
          the hashtable of topic -> TopicManager
 

Methods in rice.p2p.scribe that return Topic
 Topic ScribeImpl.TopicManager.getTopic()
          Gets the topic of the TopicManager object
 Topic[] Scribe.getTopics(ScribeClient client)
          Returns the list of topics the given client is subscribed to.
 Topic[] ScribeImpl.getTopics(ScribeClient client)
          Returns the list of topics the given client is subscribed to.
 Topic[] Scribe.topicsAsChild(NodeHandle child)
          This returns the topics for which the parameter 'child' is a Scribe tree child of the local node
 Topic[] ScribeImpl.topicsAsChild(NodeHandle child)
           
 Topic[] Scribe.topicsAsParent(NodeHandle parent)
          This returns the topics for which the parameter 'parent' is a Scribe tree parent of the local node
 Topic[] ScribeImpl.topicsAsParent(NodeHandle parent)
           
 

Methods in rice.p2p.scribe with parameters of type Topic
 void Scribe.addChild(Topic topic, NodeHandle child)
          Adds a child to the given topic
 void ScribeImpl.addChild(Topic topic, NodeHandle child)
          Adds a child to the given topic
protected  void ScribeImpl.addChild(Topic topic, NodeHandle child, int id)
          Adds a child to the given topic, using the specified sequence number in the ack message sent to the child.
 boolean ScribeImpl.allChildrenContains(Topic t, NodeHandle child)
           
 boolean ScribeImpl.allParentsContains(Topic t, NodeHandle parent)
           
 void Scribe.anycast(Topic topic, RawScribeContent content)
           
 void ScribeImpl.anycast(Topic topic, RawScribeContent content)
           
 void Scribe.anycast(Topic topic, RawScribeContent content, NodeHandle hint)
           
 void ScribeImpl.anycast(Topic topic, RawScribeContent content, NodeHandle hint)
           
 void Scribe.anycast(Topic topic, ScribeContent content)
          Anycasts the given content to a member of the given topic
 boolean ScribeClient.anycast(Topic topic, ScribeContent content)
          This method is invoked when an anycast is received for a topic which this client is interested in.
 void ScribeImpl.anycast(Topic topic, ScribeContent content)
          Anycasts the given content to a member of the given topic
 void Scribe.anycast(Topic topic, ScribeContent content, NodeHandle hint)
          Anycasts the given content to a member of the given topic The hint helps us to implement centralized algorithms where the hint is the cachedRoot for the topic.
 void ScribeImpl.anycast(Topic topic, ScribeContent content, NodeHandle hint)
           
 void ScribeClient.childAdded(Topic topic, NodeHandle child)
          Informs this client that a child was added to a topic in which it was interested in.
 void ScribePolicy.childAdded(Topic topic, NodeHandle child)
          Informs this policy that a child was added to a topic - the topic is free to ignore this upcall if it doesn't care.
 void ScribePolicy.DefaultScribePolicy.childAdded(Topic topic, NodeHandle child)
          Informs this policy that a child was added to a topic - the topic is free to ignore this upcall if it doesn't care.
 void ScribeClient.childRemoved(Topic topic, NodeHandle child)
          Informs this client that a child was removed from a topic in which it was interested in.
 void ScribePolicy.childRemoved(Topic topic, NodeHandle child)
          Informs this policy that a child was removed from a topic - the topic is free to ignore this upcall if it doesn't care.
 void ScribePolicy.DefaultScribePolicy.childRemoved(Topic topic, NodeHandle child)
          Informs this policy that a child was removed from a topic - the topic is free to ignore this upcall if it doesn't care.
 boolean Scribe.containsChild(Topic myTopic, NodeHandle child)
           
 boolean ScribeImpl.containsChild(Topic topic, NodeHandle child)
           
 boolean Scribe.containsTopic(Topic myTopic)
          Returns true if there is a TopicManager object corresponding to this topic
 boolean ScribeImpl.containsTopic(Topic topic)
          Returns true if there is a TopicManager associated with this topic (any parent/children/client exists)
 void ScribeClient.deliver(Topic topic, ScribeContent content)
          This method is invoked when a message is delivered for a topic this client is interested in.
 NodeHandle[] Scribe.getChildren(Topic topic)
          Returns the list of children for a given topic
 NodeHandle[] ScribeImpl.getChildren(Topic topic)
          Returns the list of children for a given topic
 ScribeClient[] ScribeImpl.getClients(Topic topic)
          Returns the list of clients for a given topic
 NodeHandle Scribe.getParent(Topic myTopic)
          Returns the parent node for a given topic
 NodeHandle ScribeImpl.getParent(Topic topic)
          Returns the parent for a given topic
 NodeHandle ScribeImpl.getRoot(Topic topic)
           
 boolean Scribe.isRoot(Topic topic)
          Returns whether or not this Scribe is the root for the given topic
 boolean ScribeImpl.isRoot(Topic topic)
          Returns whether or not this Scribe is the root for the given topic
 int Scribe.numChildren(Topic topic)
           
 int ScribeImpl.numChildren(Topic topic)
           
 void Scribe.publish(Topic topic, RawScribeContent content)
           
 void ScribeImpl.publish(Topic topic, RawScribeContent content)
           
 void Scribe.publish(Topic topic, ScribeContent content)
          Publishes the given message to the topic.
 void ScribeImpl.publish(Topic topic, ScribeContent content)
          Publishes the given message to the topic.
protected  void ScribeImpl.recvAnycastFail(Topic topic, NodeHandle failedAtNode, ScribeContent content)
           
 void ScribePolicy.recvAnycastFail(Topic topic, NodeHandle failedAtNode, ScribeContent content)
          This notifies us when we receive a failure for a anycast
 void ScribePolicy.DefaultScribePolicy.recvAnycastFail(Topic topic, NodeHandle failedAtNode, ScribeContent content)
           
 void Scribe.removeChild(Topic topic, NodeHandle child)
          Removes a child from the given topic
 void ScribeImpl.removeChild(Topic topic, NodeHandle child)
          Removes a child from the given topic
protected  void ScribeImpl.removeChild(Topic topic, NodeHandle child, boolean sendDrop)
          Removes a child from the given topic
 void Scribe.subscribe(Topic topic, ScribeClient client)
          Subscribes the given client to the provided topic.
 void ScribeImpl.subscribe(Topic topic, ScribeClient client)
          Subscribes the given client to the provided topic.
 void Scribe.subscribe(Topic topic, ScribeClient client, RawScribeContent content)
           
 void ScribeImpl.subscribe(Topic topic, ScribeClient client, RawScribeContent content)
           
 void Scribe.subscribe(Topic topic, ScribeClient client, RawScribeContent content, NodeHandle hint)
           
 void ScribeImpl.subscribe(Topic topic, ScribeClient client, RawScribeContent content, NodeHandle hint)
           
 void Scribe.subscribe(Topic topic, ScribeClient client, ScribeContent content)
          Subscribes the given client to the provided topic.
 void ScribeImpl.subscribe(Topic topic, ScribeClient client, ScribeContent content)
          Subscribes the given client to the provided topic.
 void Scribe.subscribe(Topic topic, ScribeClient client, ScribeContent content, NodeHandle hint)
          Subscribes the given client to the provided topic.
 void ScribeImpl.subscribe(Topic topic, ScribeClient client, ScribeContent content, NodeHandle hint)
           
 void ScribeClient.subscribeFailed(Topic topic)
          Informs the client that a subscribe on the given topic failed - the client should retry the subscribe or take appropriate action.
 void Scribe.unsubscribe(Topic topic, ScribeClient client)
          Unsubscribes the given client from the provided topic.
 void ScribeImpl.unsubscribe(Topic topic, ScribeClient client)
          Unsubscribes the given client from the provided topic.getId
 void ScribeImpl.updateAllChildren(NodeHandle child, Topic t, boolean wasAdded)
           
 void ScribeImpl.updateAllParents(NodeHandle parent, Topic t, boolean wasAdded)
           
 

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

Uses of Topic in rice.p2p.scribe.messaging
 

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

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

Constructors in rice.p2p.scribe.messaging with parameters of type Topic
AbstractSubscribeMessage(NodeHandle source, Topic topic, int id)
          Constructor which takes a unique integer Id
AnycastFailureMessage(NodeHandle source, Topic topic, RawScribeContent content)
           
AnycastFailureMessage(NodeHandle source, Topic topic, ScribeContent content)
           
AnycastMessage(NodeHandle source, Topic topic, RawScribeContent content)
           
AnycastMessage(NodeHandle source, Topic topic, ScribeContent content)
          Constructor which takes a unique integer Id
DropMessage(NodeHandle source, Topic topic)
          Constructor which takes a unique integer Id
PublishMessage(NodeHandle source, Topic topic, RawScribeContent content)
           
PublishMessage(NodeHandle source, Topic topic, ScribeContent content)
          Constructor which takes a unique integer Id
PublishRequestMessage(NodeHandle source, Topic topic, RawScribeContent content)
           
PublishRequestMessage(NodeHandle source, Topic topic, ScribeContent content)
          Constructor which takes a unique integer Id
ScribeMessage(NodeHandle source, Topic topic)
          Constructor which takes a unique integer Id
SubscribeAckMessage(NodeHandle source, Topic topic, Id[] pathToRoot, int id)
          Constructor which takes a unique integer Id
SubscribeFailedMessage(NodeHandle source, Topic topic, int id)
          Constructor which takes a unique integer Id
SubscribeLostMessage(NodeHandle source, Topic topic, int id)
          Constructor which takes a unique integer Id
SubscribeMessage(NodeHandle source, Topic topic, Id previousParent, int id, RawScribeContent content)
          Constructor which takes a unique integer Id
SubscribeMessage(NodeHandle source, Topic topic, int id, RawScribeContent content)
          Constructor which takes a unique integer Id
UnsubscribeMessage(NodeHandle source, 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  Topic RawScribeRegrTest.TestScribeContent.topic
          DESCRIBE THE FIELD
protected  Topic RawScribeRegrTest.TestScribeClient.topic
          The topic this client is listening for
protected  Topic ScribeRegrTest.TestScribeContent.topic
          DESCRIBE THE FIELD
protected  Topic ScribeRegrTest.TestScribeClient.topic
          The topic this client is listening for
 

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

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

Uses of Topic in rice.p2p.splitstream
 

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

Methods in rice.p2p.splitstream with parameters of type Topic
 boolean Stripe.anycast(Topic topic, ScribeContent content)
          This method is invoked when an anycast is received for a topic which this client is interested in.
 void SplitStreamScribePolicy.childAdded(Topic topic, NodeHandle child)
          Informs this policy that a child was added to a topic - the topic is free to ignore this upcall if it doesn't care.
 void Stripe.childAdded(Topic topic, NodeHandle child)
          Informs this client that a child was added to a topic in which it was interested in.
 void SplitStreamScribePolicy.childRemoved(Topic topic, NodeHandle child)
          Informs this policy that a child was removed from a topic - the topic is free to ignore this upcall if it doesn't care.
 void Stripe.childRemoved(Topic topic, NodeHandle child)
          Informs this client that a child was removed from a topic in which it was interested in.
 void Stripe.deliver(Topic topic, ScribeContent content)
          This method is invoked when a message is delivered for a topic this client is interested in.
 void SplitStreamScribePolicy.recvAnycastFail(Topic topic, NodeHandle failedAtNode, ScribeContent content)
           
 void Stripe.subscribeFailed(Topic topic)
          Informs this client that a subscription failed
 

Uses of Topic in rice.pastry.testing
 

Fields in rice.pastry.testing declared as Topic
protected  Topic RoutingTableTest.TestScribeContent.topic
          DESCRIBE THE FIELD
 

Constructors in rice.pastry.testing with parameters of type Topic
RoutingTableTest.TestScribeContent(Topic topic, int num)
          Constructor for TestScribeContent.
 

Uses of Topic in rice.tutorial.scribe
 

Methods in rice.tutorial.scribe with parameters of type Topic
 boolean MyScribeClient.anycast(Topic topic, ScribeContent content)
          Called when we receive an anycast.
 void MyScribeClient.childAdded(Topic topic, NodeHandle child)
           
 void MyScribeClient.childRemoved(Topic topic, NodeHandle child)
           
 void MyScribeClient.deliver(Topic topic, ScribeContent content)
          Called whenever we receive a published message.
 void MyScribeClient.subscribeFailed(Topic topic)
           
 


Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.