Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Namespace Members | Class Members | File Members | Related Pages

cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl Class Reference

Inheritance diagram for cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl:

Inheritance graph
[legend]
Collaboration diagram for cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl:

Collaboration graph
[legend]
List of all members.

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

ACSJMSTopicConnectionImpl instance (String username, String password, String brokerList, Boolean loadBalancing, Boolean sequential, Boolean selectorAtBroker) throws ConnectionException

Static Public Attributes

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

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

Detailed Description

Implementation class.
Version:
1.0 23 Jan 2001
Author:
Controls Middleware Project
See also:
JMSTopicConnection


Constructor & Destructor Documentation

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

Exceptions:
JMSException 


Member Function Documentation

void cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::close  )  [inline]
 

Method close

Implements cern::cmw::mom::pubsub::impl::JMSConnection.

void cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::connect boolean  retry  )  throws ConnectionException [inline]
 

Method connect

Parameters:
retry 
Exceptions:
ConnectionException 

Implements cern::cmw::mom::pubsub::impl::JMSConnection.

TopicSession cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::createTopicSession  )  throws ConnectionException [inline]
 

Method createTopicSession

Returns:
TopicSession
Exceptions:
ConnectionException 

Implements cern::cmw::mom::pubsub::impl::JMSTopicConnection.

void cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::disconnect  )  [inline]
 

Method disconnect

Implements cern::cmw::mom::pubsub::impl::JMSConnection.

void cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::finalize  )  throws Throwable [inline, protected]
 

Method finalize

Exceptions:
Throwable 

String cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::getConnectId  )  [inline]
 

Method getConnectId

Returns:
String

Implements cern::cmw::mom::pubsub::impl::JMSConnection.

String cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::getUsername  )  [inline]
 

Method getUsername

Returns:
String

Implements cern::cmw::mom::pubsub::impl::JMSConnection.

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

Parameters:
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
Returns:
DefaultJMSTopicConnectionImpl
Exceptions:
ConnectionException 

boolean cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::isConnected  )  [inline]
 

Method isConnected

Returns:
boolean

Implements cern::cmw::mom::pubsub::impl::JMSConnection.

void cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::setExceptionListener ExceptionListener  listener  )  throws ConnectionException [inline]
 

Method setExceptionListener

Parameters:
listener 
Exceptions:
ConnectionException 

Implements cern::cmw::mom::pubsub::impl::JMSConnection.

void cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::start  )  throws ConnectionException [inline]
 

Method start

Exceptions:
ConnectionException 

Implements cern::cmw::mom::pubsub::impl::JMSConnection.

void cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::stop  )  throws ConnectionException [inline]
 

Method stop

Exceptions:
ConnectionException 

Implements cern::cmw::mom::pubsub::impl::JMSConnection.


Member Data Documentation

TopicConnection cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::brokerConnection = null [private]
 

Category cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::cat = Category.getInstance(ACSJMSTopicConnectionImpl.class.getName()) [static, package]
 

boolean cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::connected = false [private]
 

ContainerServicesBase cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::containerServices = null [static]
 

TopicConnectionFactory cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::factory = null [private]
 

java.util.Properties cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::momProperties = null [private]
 

String cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::password = null [private]
 

int cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::pingInterval = 0 [private]
 

int cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::retryInterval = 0 [private]
 

int cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::retryNumber = 0 [private]
 

String cern::cmw::mom::pubsub::impl::ACSJMSTopicConnectionImpl::username = null [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Apr 30 03:08:00 2009 for ACS Java API by doxygen 1.3.8