activemq-cpp-3.9.0
cms::DestinationEvent Class Referenceabstract

An event class that is used to wrap information related to Destination add and remove events from the CMS Provider. More...

#include <src/main/cms/DestinationEvent.h>

Inheritance diagram for cms::DestinationEvent:

Public Member Functions

virtual ~DestinationEvent ()
 
virtual const cms::DestinationgetDestination () const =0
 Returns the destination that this event is related to, the returned destination remains the property of this event and should be cloned if the caller wishes to store it beyond the lifetime of this event object. More...
 
virtual bool isAddOperation () const =0
 Returns true if this events represents the addition of a Destination. More...
 
virtual bool isRemoveOperation () const =0
 Returns true if this events represents the removal of a Destination. More...
 

Detailed Description

An event class that is used to wrap information related to Destination add and remove events from the CMS Provider.

Since
3.2

Constructor & Destructor Documentation

virtual cms::DestinationEvent::~DestinationEvent ( )
virtual

Member Function Documentation

virtual const cms::Destination* cms::DestinationEvent::getDestination ( ) const
pure virtual

Returns the destination that this event is related to, the returned destination remains the property of this event and should be cloned if the caller wishes to store it beyond the lifetime of this event object.

Returns
a cms::Destination instance that this event relates to.

Implemented in activemq::core::ActiveMQDestinationEvent.

virtual bool cms::DestinationEvent::isAddOperation ( ) const
pure virtual

Returns true if this events represents the addition of a Destination.

Returns
true if this events represents the addition of a Destination.

Implemented in activemq::core::ActiveMQDestinationEvent.

virtual bool cms::DestinationEvent::isRemoveOperation ( ) const
pure virtual

Returns true if this events represents the removal of a Destination.

Returns
true if this events represents the removal of a Destination.

Implemented in activemq::core::ActiveMQDestinationEvent.


The documentation for this class was generated from the following file: