|
Public Member Functions |
| DefaultSubscriberImpl () throws MOMException |
| DefaultSubscriberImpl (String username, String password, String brokerList, Boolean loadBalancing, Boolean sequential, Boolean selectorAtBroker) throws MOMException |
boolean | isClosed () |
void | setExceptionListener (cern.cmw.mom.pubsub.ExceptionListener listener) |
void | close () |
void | onException (JMSException ex) |
void | open () throws MOMException |
long | subscribe (String topic, SubscriptionListener listener, String selector) throws JMSException, NamingException |
void | unSubscribe (long token) throws JMSException |
void | unSubscribeAll () throws JMSException |
Protected Member Functions |
Topic | createTopic (String topic) throws JMSException, NamingException |
void | finalize () throws Throwable |
void | recoverSubscriptions () |
Static Package Attributes |
Category | cat = Category.getInstance(DefaultSubscriberImpl.class.getName()) |
Private Member Functions |
void | setConnectionIdentifier () |
SubscriptionHandle | getSubscriptionHandle (long token) |
Thread | createKeepAliveThread () |
void | initialize (boolean retry) throws MOMException |
void | publishKeepAliveNotifications () |
void | publishNotification (int type, SubscriptionHandle handle) throws JMSException |
Private Attributes |
Boolean | loadBalancing |
Boolean | selectorAtBroker |
Boolean | sequential |
cern.cmw.mom.pubsub.ExceptionListener | listener = null |
HashMap | subscribers = null |
JMSTopicConnection | connection = null |
Map | topicDirectory = null |
Message | notificationMessage = null |
Properties | momProperties = null |
String | brokerList |
String | password |
String | subscriberId = null |
String | username |
Thread | keepAliveThread = null |
TopicPublisher | notificationPublisher = null |
TopicSession | serviceSession = null |
boolean | closed = true |
boolean | keepAliveEnabled = false |
boolean | notificationsEnabled = false |
int | keepAliveInterval = 0 |