|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.objectweb.joram.mom.proxies.TopicSubscription
class TopicSubscription
The TopicSubscription
class holds the parameters of a proxy's
subscription to a topic.
Field Summary | |
---|---|
private java.lang.String |
lastSelector
Last built selector. |
private java.util.Map |
subs
Table of subscriptions selectors. |
Constructor Summary | |
---|---|
TopicSubscription()
Creates a TopicSubscription instance. |
Method Summary | |
---|---|
(package private) java.lang.String |
buildSelector()
Returns a selector built from the subscriptions' selectors. |
(package private) java.lang.String |
getLastSelector()
Returns the last selector value. |
(package private) java.util.Iterator |
getNames()
Returns the names of the subscriptions. |
(package private) boolean |
isEmpty()
Returns true if the subscriptions table is empty. |
(package private) void |
putSubscription(java.lang.String name,
java.lang.String selector)
Adds a new subscription or updates an existing one. |
(package private) void |
removeSubscription(java.lang.String name)
Removes a subscription. |
(package private) void |
setLastSelector(java.lang.String selector)
Sets the last selector value. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private java.util.Map subs
private java.lang.String lastSelector
Constructor Detail |
---|
TopicSubscription()
TopicSubscription
instance.
Method Detail |
---|
void putSubscription(java.lang.String name, java.lang.String selector)
name
- Subscription name.selector
- Selector.void removeSubscription(java.lang.String name)
name
- Subscription name.boolean isEmpty()
true
if the subscriptions table is empty.
java.lang.String buildSelector()
void setLastSelector(java.lang.String selector)
java.lang.String getLastSelector()
java.util.Iterator getNames()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |