|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcgl.narada.topology.viewer.Subscription
public class Subscription
Represents a subscription request (to a broker) by a client
| Constructor Summary | |
|---|---|
Subscription(int clientId,
String clientType)
Only constructor |
|
| Method Summary | |
|---|---|
void |
addTopic(String t)
Adds a topic into the list associated with a client's subscription |
void |
deleteAllTopics()
Deletes all the topics associated with client's subscription. |
void |
deleteTopic(String t)
Deletes the specified topic from the list associated with a client's subscription. |
String |
getTopic(String t)
Fetches a topic from the topic list assiciated with the client's subscription. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Subscription(int clientId,
String clientType)
| Method Detail |
|---|
public void addTopic(String t)
t - String representation of a topic.
public void deleteTopic(String t)
throws TopologyException
t - String representation of a topic.
TopologyException - if the specified topic does not existpublic void deleteAllTopics()
public String getTopic(String t)
t - String representation of the topic to be fetched.
String representation of the topic.
null if the specified topic is not found.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||