Rice Pastry API

Uses of Interface
rice.p2p.scribe.ScribeClient

Packages that use ScribeClient
rice.p2p.scribe   
rice.p2p.scribe.testing   
rice.p2p.splitstream   
 

Uses of ScribeClient in rice.p2p.scribe
 

Methods in rice.p2p.scribe that return ScribeClient
 rice.p2p.scribe.ScribeClient[] ScribeImpl.getClients(rice.p2p.scribe.Topic topic)
          Returns the list of clients for a given topic
 rice.p2p.scribe.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(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 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.TopicManager.addClient(rice.p2p.scribe.ScribeClient client)
          Adds a feature to the Client attribute of the TopicManager object
 boolean ScribeImpl.TopicManager.removeClient(rice.p2p.scribe.ScribeClient client)
          DESCRIBE THE METHOD
 boolean ScribePolicy.allowSubscribe(rice.p2p.scribe.messaging.SubscribeMessage message, rice.p2p.scribe.ScribeClient[] clients, rice.p2p.commonapi.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(rice.p2p.scribe.messaging.SubscribeMessage message, rice.p2p.scribe.ScribeClient[] clients, rice.p2p.commonapi.NodeHandle[] children)
          This method always return true;
 boolean ScribePolicy.LimitedScribePolicy.allowSubscribe(rice.p2p.scribe.messaging.SubscribeMessage message, rice.p2p.scribe.ScribeClient[] clients, rice.p2p.commonapi.NodeHandle[] children)
          This method returns (children.length < maxChildren-1);
 

Constructors in rice.p2p.scribe with parameters of type ScribeClient
ScribeImpl.TopicManager(rice.p2p.scribe.Topic topic, rice.p2p.scribe.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(rice.p2p.scribe.messaging.SubscribeMessage message, rice.p2p.scribe.ScribeClient[] clients, rice.p2p.commonapi.NodeHandle[] children)
           
 

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(rice.p2p.scribe.messaging.SubscribeMessage message, rice.p2p.scribe.ScribeClient[] clients, rice.p2p.commonapi.NodeHandle[] children)
          This method implements the "locating parent" algorithm of SplitStream.
 


Rice Pastry API

Copyright © 2001 - Rice Pastry.


Imprint-Dataprotection