cms::Connection Class Reference

#include <Connection.h>

Inheritance diagram for cms::Connection:

cms::Startable cms::Stoppable cms::Closeable List of all members.

Public Member Functions

virtual ~Connection (void)
virtual SessioncreateSession (void)=0 throw ( CMSException )
virtual SessioncreateSession (Session::AcknowledgeMode ackMode)=0 throw ( CMSException )
virtual std::string getClientId (void) const =0
virtual ExceptionListenergetExceptionListener (void) const =0
virtual void setExceptionListener (ExceptionListener *listener)=0

Constructor & Destructor Documentation

virtual cms::Connection::~Connection void   )  [inline, virtual]
 


Member Function Documentation

virtual Session* cms::Connection::createSession Session::AcknowledgeMode  ackMode  )  throw ( CMSException ) [pure virtual]
 

Creates a new Session to work for this Connection using the specified acknowledgment mode

Parameters:
the Acknowledgement Mode to use.
Exceptions:
CMSException 

virtual Session* cms::Connection::createSession void   )  throw ( CMSException ) [pure virtual]
 

Creates a new Session to work for this Connection

Exceptions:
CMSException 

virtual std::string cms::Connection::getClientId void   )  const [pure virtual]
 

Get the Client Id for this session

Returns:
Client Id String

virtual ExceptionListener* cms::Connection::getExceptionListener void   )  const [pure virtual]
 

Gets the registered Exception Listener for this connection

Returns:
pointer to an exception listnener or NULL

virtual void cms::Connection::setExceptionListener ExceptionListener listener  )  [pure virtual]
 

Sets the registed Exception Listener for this connection

Parameters:
pointer to and ExceptionListener


The documentation for this class was generated from the following file:
Generated on Thu Aug 3 16:39:15 2006 for cms by  doxygen 1.4.5