Package com.swiftmq.impl.topic.standard
Class TopicSubscription
java.lang.Object
com.swiftmq.impl.topic.standard.TopicSubscription
-
Constructor Summary
ModifierConstructorDescriptionprotected
TopicSubscription
(int subscriberId, String topicName, String[] tokenizedName, boolean noLocal, Selector selector, ActiveLogin activeLogin, String subscriberQueueName) protected
TopicSubscription
(TopicInfo topicInfo, TopicBroker broker) -
Method Summary
Modifier and TypeMethodDescriptionprotected TopicSubscriberTransaction
boolean
ActiveLogin
int
int
Selector
int
String[]
boolean
boolean
boolean
boolean
boolean
boolean
isRemote()
boolean
boolean
protected void
removeTransaction
(TopicSubscriberTransaction transaction) void
setAnnounced
(boolean announced) void
setBroker
(TopicBroker broker) void
setBrokerSubscriberId
(int brokerSubscriberId) void
setDurable
(boolean durable) void
setForceCopy
(boolean forceCopy) void
setKeepOnUnsubscribe
(boolean keepOnUnsubscribe) void
setRemovePending
(boolean removePending) void
setStaticSubscription
(boolean staticSubscription) void
setSubscriberId
(int subscriberId) toString()
protected void
-
Constructor Details
-
TopicSubscription
-
TopicSubscription
-
-
Method Details
-
isForceCopy
public boolean isForceCopy() -
setForceCopy
public void setForceCopy(boolean forceCopy) -
isDurable
public boolean isDurable() -
setDurable
public void setDurable(boolean durable) -
isStaticSubscription
public boolean isStaticSubscription() -
setStaticSubscription
public void setStaticSubscription(boolean staticSubscription) -
setKeepOnUnsubscribe
public void setKeepOnUnsubscribe(boolean keepOnUnsubscribe) -
isKeepOnUnsubscribe
public boolean isKeepOnUnsubscribe() -
isAnnounced
public boolean isAnnounced() -
setAnnounced
public void setAnnounced(boolean announced) -
isRemote
public boolean isRemote() -
setSubscriberId
public void setSubscriberId(int subscriberId) -
getSubscriberId
public int getSubscriberId() -
setBrokerSubscriberId
public void setBrokerSubscriberId(int brokerSubscriberId) -
getBrokerSubscriberId
public int getBrokerSubscriberId() -
setBroker
-
getBroker
-
getTopicName
-
getTokenizedName
-
getSelector
public Selector getSelector() -
isNoLocal
public boolean isNoLocal() -
getActiveLogin
public ActiveLogin getActiveLogin() -
getDestination
-
getSubscriberQueueName
-
getNumberSubscriberQueueMessages
- Throws:
Exception
-
isRemovePending
public boolean isRemovePending() -
setRemovePending
public void setRemovePending(boolean removePending) -
createTransaction
- Throws:
Exception
-
removeTransaction
-
unsubscribe
protected void unsubscribe() -
equals
-
toString
-