

Public Member Functions | |
| virtual | ~Connection () | 
| virtual void | close ()=0 throw ( CMSException ) | 
| virtual Session * | createSession ()=0 throw ( CMSException ) | 
| virtual Session * | createSession (Session::AcknowledgeMode ackMode)=0 throw ( CMSException ) | 
| virtual std::string | getClientID () const=0 | 
| virtual ExceptionListener * | getExceptionListener () const=0 | 
| virtual void | setExceptionListener (ExceptionListener *listener)=0 | 
| virtual cms::Connection::~Connection | ( | ) |  [inline, virtual] | 
        
| virtual void cms::Connection::close | ( | ) |   throw ( CMSException ) [pure virtual] | 
        
Closes this connection as well as any Sessions created from it (and those Sessions' consumers and producers).
| CMSException | 
Implements cms::Closeable.
| virtual Session* cms::Connection::createSession | ( | ) |   throw ( CMSException ) [pure virtual] | 
        
Creates an AUTO_ACKNOWLEDGE Session.
| CMSException | 
| 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
| the | Acknowledgement Mode to use. | 
| CMSException | 
| virtual std::string cms::Connection::getClientID | ( | ) |  const [pure virtual] | 
        
Get the Client Id for this session
| virtual ExceptionListener* cms::Connection::getExceptionListener | ( | ) |  const [pure virtual] | 
        
Gets the registered Exception Listener for this connection
| virtual void cms::Connection::setExceptionListener | ( | ExceptionListener * | listener | ) |  [pure virtual] | 
        
Sets the registed Exception Listener for this connection
| pointer | to and ExceptionListener  | 
 1.5.1-p1