activemq-cpp-3.9.0
|
Provides an object that will provide a snapshot view of Destinations that exist on the Message provider. More...
#include <src/main/cms/DestinationSource.h>
Public Member Functions | |
virtual | ~DestinationSource () |
virtual void | setListener (cms::DestinationListener *listener)=0 |
Sets the current listener of Destination events. More... | |
virtual cms::DestinationListener * | getListener () const =0 |
Gets the currently configured DestiantionListener for this event source. More... | |
virtual std::vector< cms::Queue * > | getQueues () const =0 |
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 =0 |
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 =0 |
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 =0 |
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 | ~Startable () |
virtual void | start ()=0 |
Starts the service. More... | |
![]() | |
virtual | ~Stoppable () |
virtual void | stop ()=0 |
Stops this service. More... | |
Provides an object that will provide a snapshot view of Destinations that exist on the Message provider.
|
virtual |
|
pure 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.
Implemented in activemq::core::ActiveMQDestinationSource.
|
pure 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.
Implemented in activemq::core::ActiveMQDestinationSource.
|
pure 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.
Implemented in activemq::core::ActiveMQDestinationSource.
|
pure 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.
Implemented in activemq::core::ActiveMQDestinationSource.
|
pure 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.
Implemented in activemq::core::ActiveMQDestinationSource.
|
pure 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. |
Implemented in activemq::core::ActiveMQDestinationSource.