| 
Rice Pastry API | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||
| Packages that use ScribeClient | |
| rice.p2p.multiring | |
| rice.p2p.scribe | |
| rice.p2p.scribe.testing | |
| rice.p2p.splitstream | |
| rice.tutorial.lesson6 | |
| Uses of ScribeClient in rice.p2p.multiring | 
| Classes in rice.p2p.multiring that implement ScribeClient | |
 class | 
MultiringNode
 | 
| Uses of ScribeClient in rice.p2p.scribe | 
| Methods in rice.p2p.scribe that return ScribeClient | |
 ScribeClient[] | 
ScribeImpl.getClients(Topic topic)
Returns the list of clients for a given topic  | 
 ScribeClient[] | 
ScribeImpl.TopicManager.getClients()
Gets the Clients attribute of the TopicManager object  | 
| Methods in rice.p2p.scribe with parameters of type ScribeClient | |
 void | 
Scribe.subscribe(Topic topic,
          ScribeClient client)
Subscribes the given client to the provided topic.  | 
 void | 
Scribe.subscribe(Topic topic,
          ScribeClient client,
          ScribeContent content)
Subscribes the given client to the provided topic.  | 
 void | 
Scribe.unsubscribe(Topic topic,
            ScribeClient client)
Unsubscribes the given client from the provided topic.  | 
 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.  | 
 void | 
ScribeImpl.subscribe(Topic topic,
          ScribeClient client)
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 | 
ScribeImpl.unsubscribe(Topic topic,
            ScribeClient client)
Unsubscribes the given client from the provided topic.  | 
 boolean | 
ScribeImpl.TopicManager.containsClient(ScribeClient client)
Returns whether or not this topic manager contains the given client.  | 
 void | 
ScribeImpl.TopicManager.addClient(ScribeClient client)
Adds a feature to the Client attribute of the TopicManager object  | 
 boolean | 
ScribeImpl.TopicManager.removeClient(ScribeClient client)
DESCRIBE THE METHOD  | 
 boolean | 
ScribePolicy.allowSubscribe(SubscribeMessage message,
               ScribeClient[] clients,
               NodeHandle[] children)
This method is called when the newChild is about to become our child, and the policy should return whether or not the child should be allowed to become our child.  | 
 boolean | 
ScribePolicy.DefaultScribePolicy.allowSubscribe(SubscribeMessage message,
               ScribeClient[] clients,
               NodeHandle[] children)
This method always return true;  | 
 boolean | 
ScribePolicy.LimitedScribePolicy.allowSubscribe(SubscribeMessage message,
               ScribeClient[] clients,
               NodeHandle[] children)
This method returns (children.length < maxChildren-1);  | 
| Constructors in rice.p2p.scribe with parameters of type ScribeClient | |
ScribeImpl.TopicManager(Topic topic,
                        ScribeClient client)
Constructor for TopicManager.  | 
|
| Uses of ScribeClient in rice.p2p.scribe.testing | 
| Classes in rice.p2p.scribe.testing that implement ScribeClient | |
protected  class | 
ScribeRegrTest.TestScribeClient
DESCRIBE THE CLASS  | 
| Methods in rice.p2p.scribe.testing with parameters of type ScribeClient | |
 boolean | 
ScribeRegrTest.TestScribePolicy.allowSubscribe(SubscribeMessage message,
               ScribeClient[] clients,
               NodeHandle[] children)
DESCRIBE THE METHOD  | 
| Uses of ScribeClient in rice.p2p.splitstream | 
| Classes in rice.p2p.splitstream that implement ScribeClient | |
 class | 
Stripe
This class encapsulates all data about an individual stripe.  | 
| Methods in rice.p2p.splitstream with parameters of type ScribeClient | |
 boolean | 
SplitStreamScribePolicy.allowSubscribe(SubscribeMessage message,
               ScribeClient[] clients,
               NodeHandle[] children)
This method implements the "locating parent" algorithm of SplitStream.  | 
| Uses of ScribeClient in rice.tutorial.lesson6 | 
| Classes in rice.tutorial.lesson6 that implement ScribeClient | |
 class | 
MyScribeClient
We implement Application to receive regular timed messages (see lesson5).  | 
  | 
Rice Pastry API | ||||||||||
| PREV NEXT | FRAMES NO FRAMES | ||||||||||