|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use PostinaTopic | |
|---|---|
| ca.mcgill.cs.postina | Provides the classes and methodes publicly available to users of Postina. |
| ca.mcgill.cs.postina.scribe | |
| ca.mcgill.cs.postina.util | |
| Uses of PostinaTopic in ca.mcgill.cs.postina |
|---|
| Methods in ca.mcgill.cs.postina that return PostinaTopic | |
|---|---|
PostinaTopic |
PostinaMessage.getTopic()
This method gets the PostinaTopic assigned to this
message. |
PostinaTopic |
PostinaNetworkLayer.getTopic(java.lang.String topicName)
Gets the PostinaTopic for a given string name of a topic. |
| Methods in ca.mcgill.cs.postina with parameters of type PostinaTopic | |
|---|---|
void |
PostinaNetworkLayer.publish(PostinaTopic topic,
java.io.Serializable content)
Publishes a message to a PostinaTopic. |
void |
PostinaNetworkLayer.subscribe(PostinaTopic topic)
Subscribes the current client to a PostinaTopic. |
void |
PostinaNetworkLayer.subscribeOther(PostinaTopic topic,
PostinaID client)
Subscribes the client specified by the PostinaID to a
PostinaTopic. |
void |
PostinaNetworkLayer.unsubscribe(PostinaTopic topic)
Unsubscribes the current client from the PostinaTopic. |
void |
PostinaNetworkLayer.unsubscribeOther(PostinaTopic topic,
PostinaID client)
Unsubscribes the client specified by the PostinaID to a
PostinaTopic. |
| Method parameters in ca.mcgill.cs.postina with type arguments of type PostinaTopic | |
|---|---|
void |
PostinaNetworkLayer.subscribe(java.util.Collection<PostinaTopic> topics)
Subscribes the current client to the Collection of
PostinaTopics. |
void |
PostinaNetworkLayer.subscribeOther(java.util.Collection<PostinaTopic> topics,
PostinaID client)
Subscribes the client specified by the PostinaID to a
Collection of PostinaTopics. |
void |
PostinaNetworkLayer.unsubscribe(java.util.Collection<PostinaTopic> topics)
Unsubscribes the current client from the Collection of
PostinaTopics. |
void |
PostinaNetworkLayer.unsubscribeOther(java.util.Collection<PostinaTopic> topics,
PostinaID client)
Unsubscribes the client specified by the PostinaID from a
Collectionof PostinaTopics. |
| Uses of PostinaTopic in ca.mcgill.cs.postina.scribe |
|---|
| Classes in ca.mcgill.cs.postina.scribe that implement PostinaTopic | |
|---|---|
class |
ScribeTopic
The ScribeTopic is the representation for a Topic used
internally by Postina. |
| Fields in ca.mcgill.cs.postina.scribe declared as PostinaTopic | |
|---|---|
protected static PostinaTopic |
ScribeNetworkLayer.BROADCAST_TOPIC
The string representing the topic to which all nodes have to subscribe to enable broadcasting. |
private PostinaTopic |
PostinaScribeTransportMessage.topic
The PostinaTopic of the published message. |
| Fields in ca.mcgill.cs.postina.scribe with type parameters of type PostinaTopic | |
|---|---|
private java.util.Hashtable<java.lang.String,PostinaTopic> |
ScribeNetworkLayer.topics
The Hashtable topics maps the string representation of
topics to the corresponding PostinaTopic. |
| Methods in ca.mcgill.cs.postina.scribe that return PostinaTopic | |
|---|---|
PostinaTopic |
PostinaScribeTransportMessage.getTopic()
|
PostinaTopic |
ScribeNetworkLayer.getTopic(java.lang.String topicName)
|
| Methods in ca.mcgill.cs.postina.scribe with parameters of type PostinaTopic | |
|---|---|
void |
ScribeNetworkLayer.publish(PostinaTopic topic,
java.io.Serializable content)
|
void |
ScribeNetworkLayer.subscribe(PostinaTopic topic)
|
void |
ScribeNetworkLayer.subscribeOther(PostinaTopic topic,
PostinaID client)
|
void |
ScribeNetworkLayer.unsubscribe(PostinaTopic topic)
|
void |
ScribeNetworkLayer.unsubscribeOther(PostinaTopic topic,
PostinaID client)
|
| Method parameters in ca.mcgill.cs.postina.scribe with type arguments of type PostinaTopic | |
|---|---|
void |
ScribeNetworkLayer.subscribe(java.util.Collection<PostinaTopic> topics)
|
void |
ScribeNetworkLayer.subscribeOther(java.util.Collection<PostinaTopic> topics,
PostinaID client)
|
void |
ScribeNetworkLayer.unsubscribe(java.util.Collection<PostinaTopic> topics)
|
void |
ScribeNetworkLayer.unsubscribeOther(java.util.Collection<PostinaTopic> topics,
PostinaID client)
|
| Constructors in ca.mcgill.cs.postina.scribe with parameters of type PostinaTopic | |
|---|---|
PostinaReliableScribeTransportMessage(PostinaID from,
PostinaTopic topic,
java.io.Serializable content)
The constructor for a PostinaReliableScribeTransportMessage without a special priority indicated. |
|
PostinaReliableScribeTransportMessage(PostinaID from,
PostinaTopic topic,
java.io.Serializable content,
int priority)
The constructor for a PostinaReliableScribeTransportMessage without a special priority. |
|
PostinaScribeTransportMessage(PostinaID from,
PostinaTopic topic,
java.io.Serializable content)
An alternative constructor for a PostinaScribeTransportMessage without a specific priority. |
|
PostinaScribeTransportMessage(PostinaID from,
PostinaTopic topic,
java.io.Serializable content,
int priority)
The default constructor for a PostinaScribeTransportMessage
taking all properties including the priority. |
|
| Uses of PostinaTopic in ca.mcgill.cs.postina.util |
|---|
| Methods in ca.mcgill.cs.postina.util that return types with arguments of type PostinaTopic | |
|---|---|
static java.util.Collection<PostinaTopic> |
ListTransformation.getPostinaTopicCollection(java.util.Collection<rice.p2p.scribe.Topic> coll)
This static method takes a collection of code
Topics as input and casts all elements of the
collection to PostinaTopics. |
| Method parameters in ca.mcgill.cs.postina.util with type arguments of type PostinaTopic | |
|---|---|
static java.util.Collection<ScribeTopic> |
ListTransformation.getScribeTopicArrayList(java.util.Collection<PostinaTopic> coll)
This static method takes a collection of
PostinaTopics as input and casts all elements of the
collection to a ScribeTopic. |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||