|
activemq-cpp-3.9.0
|
An enhanced CMS Connection instance that provides additional features above the default required features of a CMS Connection instance. More...
#include <src/main/cms/EnhancedConnection.h>

Public Member Functions | |
| virtual | ~EnhancedConnection () |
| virtual cms::DestinationSource * | getDestinationSource ()=0 |
| Returns the DestinationSource} object which can be used to listen to destinations being created or destroyed or to enquire about the current destinations available on the message Provider. More... | |
Public Member Functions inherited from cms::Connection | |
| virtual | ~Connection () |
| virtual void | close ()=0 |
| Closes this connection as well as any Sessions created from it (and those Sessions' consumers and producers). More... | |
| virtual const ConnectionMetaData * | getMetaData () const =0 |
| Gets the metadata for this connection. More... | |
| virtual Session * | createSession ()=0 |
| Creates an AUTO_ACKNOWLEDGE Session. More... | |
| virtual Session * | createSession (Session::AcknowledgeMode ackMode)=0 |
| Creates a new Session to work for this Connection using the specified acknowledgment mode. More... | |
| virtual std::string | getClientID () const =0 |
| Get the Client Id for this session, the client Id is provider specific and is either assigned by the connection factory or set using the setClientID method. More... | |
| virtual void | setClientID (const std::string &clientID)=0 |
| Sets the client identifier for this connection. More... | |
| virtual ExceptionListener * | getExceptionListener () const =0 |
| Gets the registered Exception Listener for this connection. More... | |
| virtual void | setExceptionListener (ExceptionListener *listener)=0 |
| Sets the registered Exception Listener for this connection. More... | |
| virtual void | setMessageTransformer (cms::MessageTransformer *transformer)=0 |
| Set an MessageTransformer instance that is passed on to all Session objects created from this Connection. More... | |
| virtual cms::MessageTransformer * | getMessageTransformer () const =0 |
| Gets the currently configured MessageTransformer for this Connection. More... | |
Public Member Functions inherited from cms::Startable | |
| virtual | ~Startable () |
| virtual void | start ()=0 |
| Starts the service. More... | |
Public Member Functions inherited from cms::Stoppable | |
| virtual | ~Stoppable () |
| virtual void | stop ()=0 |
| Stops this service. More... | |
Public Member Functions inherited from cms::Closeable | |
| virtual | ~Closeable () |
An enhanced CMS Connection instance that provides additional features above the default required features of a CMS Connection instance.
|
virtual |
|
pure virtual |
Returns the DestinationSource} object which can be used to listen to destinations being created or destroyed or to enquire about the current destinations available on the message Provider.
| CMSException | if an error occurs while creating the destination source. |
Implemented in activemq::core::ActiveMQConnection.