activemq-cpp-3.9.0
|
#include <src/main/activemq/core/ActiveMQDestinationSource.h>
Public Member Functions | |
ActiveMQDestinationSource (ActiveMQConnection *connection) | |
virtual | ~ActiveMQDestinationSource () |
virtual void | start () |
Starts the service. More... | |
virtual void | stop () |
Stops this service. More... | |
virtual void | setListener (cms::DestinationListener *listener) |
Sets the current listener of Destination events. More... | |
virtual cms::DestinationListener * | getListener () const |
Gets the currently configured DestiantionListener for this event source. More... | |
virtual std::vector< cms::Queue * > | getQueues () const |
Returns a snapshot of the currently known Queues that are active on the CMS provider, this state can change at any time as Destinations are added and deleted from the provider. More... | |
virtual std::vector< cms::Topic * > | getTopics () const |
Returns a snapshot of the currently known Queues that are active on the CMS provider, this state can change at any time as Destinations are added and deleted from the provider. More... | |
virtual std::vector < cms::TemporaryQueue * > | getTemporaryQueues () const |
Returns a snapshot of the currently known Queues that are active on the CMS provider, this state can change at any time as Destinations are added and deleted from the provider. More... | |
virtual std::vector < cms::TemporaryTopic * > | getTemporaryTopics () const |
Returns a snapshot of the currently known Queues that are active on the CMS provider, this state can change at any time as Destinations are added and deleted from the provider. More... | |
Public Member Functions inherited from cms::DestinationSource | |
virtual | ~DestinationSource () |
Public Member Functions inherited from cms::Startable | |
virtual | ~Startable () |
Public Member Functions inherited from cms::Stoppable | |
virtual | ~Stoppable () |
activemq::core::ActiveMQDestinationSource::ActiveMQDestinationSource | ( | ActiveMQConnection * | connection | ) |
|
virtual |
|
virtual |
Gets the currently configured DestiantionListener for this event source.
The event source instance remains active in this DestinationSource until it is removed via a call to setListener(null) and should not be deleted until the client is sure it will not receive any future events.
Implements cms::DestinationSource.
|
virtual |
Returns a snapshot of the currently known Queues that are active on the CMS provider, this state can change at any time as Destinations are added and deleted from the provider.
The destinations are cloned and placed into the returned vector, the caller is responsible for deleting these cloned objects.
Implements cms::DestinationSource.
|
virtual |
Returns a snapshot of the currently known Queues that are active on the CMS provider, this state can change at any time as Destinations are added and deleted from the provider.
The destinations are cloned and placed into the returned vector, the caller is responsible for deleting these cloned objects.
Implements cms::DestinationSource.
|
virtual |
Returns a snapshot of the currently known Queues that are active on the CMS provider, this state can change at any time as Destinations are added and deleted from the provider.
The destinations are cloned and placed into the returned vector, the caller is responsible for deleting these cloned objects.
Implements cms::DestinationSource.
|
virtual |
Returns a snapshot of the currently known Queues that are active on the CMS provider, this state can change at any time as Destinations are added and deleted from the provider.
The destinations are cloned and placed into the returned vector, the caller is responsible for deleting these cloned objects.
Implements cms::DestinationSource.
|
virtual |
Sets the current listener of Destination events.
This class does not manage the lifetime of the configured listener, the client must ensure that it deletes the listener instance at the appropriate time.
listener | The new listener to provide destination events to. |
Implements cms::DestinationSource.
|
virtual |
Starts the service.
CMSException | if an internal error occurs while starting. |
Implements cms::Startable.
|
virtual |
Stops this service.
CMSException | - if an internal error occurs while stopping the Service. |
Implements cms::Stoppable.