

Public Member Functions | |
| String | getConnectId () |
| boolean | isConnected () |
| void | setExceptionListener (ExceptionListener listener) throws ConnectionException |
| String | getUsername () |
| void | close () |
| void | connect (boolean retry) throws ConnectionException |
| TopicSession | createTopicSession () throws ConnectionException |
| void | disconnect () |
| void | start () throws ConnectionException |
| void | stop () throws ConnectionException |
Static Public Member Functions | |
| static ACSJMSTopicConnectionImpl | instance (String username, String password, String brokerList, Boolean loadBalancing, Boolean sequential, Boolean selectorAtBroker) throws ConnectionException |
Static Public Attributes | |
| static ContainerServicesBase | containerServices = null |
Protected Member Functions | |
| ACSJMSTopicConnectionImpl (String username, String password, String brokerList, Boolean loadBalancing, Boolean sequential, Boolean selectorAtBroker) throws JMSException | |
| void | finalize () throws Throwable |
Static Package Attributes | |
| static Category | cat = Category.getInstance(ACSJMSTopicConnectionImpl.class.getName()) |
Private Attributes | |
| java.util.Properties | momProperties = null |
| String | password = null |
| String | username = null |
| TopicConnection | brokerConnection = null |
| TopicConnectionFactory | factory = null |
| boolean | connected = false |
| int | pingInterval = 0 |
| int | retryInterval = 0 |
| int | retryNumber = 0 |
Implementation class.
| cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::ACSJMSTopicConnectionImpl | ( | String | username, | |
| String | password, | |||
| String | brokerList, | |||
| Boolean | loadBalancing, | |||
| Boolean | sequential, | |||
| Boolean | selectorAtBroker | |||
| ) | throws JMSException [inline, protected] |
Constructor DefaultJMSTopicConnectionImpl
| JMSException |
References cat, containerServices, factory, momProperties, password, pingInterval, retryInterval, retryNumber, and username.
Referenced by instance().
| void cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::close | ( | ) | [inline] |
Method close
Implements cern::cmw::mom::pubsub::impl::JMSConnection.
References brokerConnection, cat, and disconnect().
Referenced by finalize().
| void cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::connect | ( | boolean | retry | ) | throws ConnectionException [inline] |
Method connect
| retry |
| ConnectionException |
Implements cern::cmw::mom::pubsub::impl::JMSConnection.
References brokerConnection, cat, connected, factory, retryInterval, and retryNumber.
| TopicSession cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::createTopicSession | ( | ) | throws ConnectionException [inline] |
Method createTopicSession
| ConnectionException |
Implements cern::cmw::mom::pubsub::impl::JMSTopicConnection.
References brokerConnection, cat, and isConnected().
| void cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::disconnect | ( | ) | [inline] |
Method disconnect
Implements cern::cmw::mom::pubsub::impl::JMSConnection.
References brokerConnection, cat, connected, and isConnected().
Referenced by close().
| void cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::finalize | ( | ) | throws Throwable [inline, protected] |
| String cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::getConnectId | ( | ) | [inline] |
Method getConnectId
Implements cern::cmw::mom::pubsub::impl::JMSConnection.
References brokerConnection, and isConnected().
| String cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::getUsername | ( | ) | [inline] |
Method getUsername
Implements cern::cmw::mom::pubsub::impl::JMSConnection.
References username.
| static ACSJMSTopicConnectionImpl cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::instance | ( | String | username, | |
| String | password, | |||
| String | brokerList, | |||
| Boolean | loadBalancing, | |||
| Boolean | sequential, | |||
| Boolean | selectorAtBroker | |||
| ) | throws ConnectionException [inline, static] |
Method instance
| username | the user name | |
| password | the password | |
| brokerList | the coma separated broker URLs list (in the form [protocol://]hostname[:port]) | |
| loadBalancing | if true, indicates that the client is willing to have a connect request re-directed to another broker within a cluster | |
| sequential | if true, the broker list will be scanned sequentially | |
| selectorAtBroker | if true, selectors will be evaluated on the broker side |
| ConnectionException |
References ACSJMSTopicConnectionImpl(), cat, password, and username.
| boolean cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::isConnected | ( | ) | [inline] |
Method isConnected
Implements cern::cmw::mom::pubsub::impl::JMSConnection.
References connected.
Referenced by createTopicSession(), disconnect(), getConnectId(), setExceptionListener(), start(), and stop().
| void cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::setExceptionListener | ( | ExceptionListener | listener | ) | throws ConnectionException [inline] |
Method setExceptionListener
| listener |
| ConnectionException |
Implements cern::cmw::mom::pubsub::impl::JMSConnection.
References brokerConnection, cat, and isConnected().
| void cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::start | ( | ) | throws ConnectionException [inline] |
Method start
| ConnectionException |
Implements cern::cmw::mom::pubsub::impl::JMSConnection.
References brokerConnection, cat, containerServices, and isConnected().
| void cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::stop | ( | ) | throws ConnectionException [inline] |
Method stop
| ConnectionException |
Implements cern::cmw::mom::pubsub::impl::JMSConnection.
References brokerConnection, cat, and isConnected().
TopicConnection cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::brokerConnection = null [private] |
Referenced by close(), connect(), createTopicSession(), disconnect(), getConnectId(), setExceptionListener(), start(), and stop().
Category cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::cat = Category.getInstance(ACSJMSTopicConnectionImpl.class.getName()) [static, package] |
Referenced by ACSJMSTopicConnectionImpl(), close(), connect(), createTopicSession(), disconnect(), finalize(), instance(), setExceptionListener(), start(), and stop().
boolean cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::connected = false [private] |
Referenced by connect(), disconnect(), and isConnected().
ContainerServicesBase cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::containerServices = null [static] |
Referenced by ACSJMSTopicConnectionImpl(), and start().
TopicConnectionFactory cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::factory = null [private] |
Referenced by ACSJMSTopicConnectionImpl(), and connect().
java.util.Properties cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::momProperties = null [private] |
Referenced by ACSJMSTopicConnectionImpl().
String cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::password = null [private] |
Referenced by ACSJMSTopicConnectionImpl(), and instance().
int cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::pingInterval = 0 [private] |
Referenced by ACSJMSTopicConnectionImpl().
int cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::retryInterval = 0 [private] |
Referenced by ACSJMSTopicConnectionImpl(), and connect().
int cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::retryNumber = 0 [private] |
Referenced by ACSJMSTopicConnectionImpl(), and connect().
String cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::username = null [private] |
Referenced by ACSJMSTopicConnectionImpl(), getUsername(), and instance().
1.6.2