activemq-cpp-3.9.0
activemq::core::ActiveMQDestinationEvent Class Reference

#include <src/main/activemq/core/ActiveMQDestinationEvent.h>

Inheritance diagram for activemq::core::ActiveMQDestinationEvent:

Public Member Functions

 ActiveMQDestinationEvent (decaf::lang::Pointer< commands::DestinationInfo > destination)
 
virtual ~ActiveMQDestinationEvent ()
 
virtual const cms::DestinationgetDestination () const
 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
 Returns true if this events represents the addition of a Destination. More...
 
virtual bool isRemoveOperation () const
 Returns true if this events represents the removal of a Destination. More...
 
decaf::lang::Pointer
< commands::DestinationInfo
getDestinationInfo () const
 Returns the DestinationInfo object that triggered this event. More...
 
- Public Member Functions inherited from cms::DestinationEvent
virtual ~DestinationEvent ()
 

Constructor & Destructor Documentation

activemq::core::ActiveMQDestinationEvent::ActiveMQDestinationEvent ( decaf::lang::Pointer< commands::DestinationInfo destination)
virtual activemq::core::ActiveMQDestinationEvent::~ActiveMQDestinationEvent ( )
virtual

Member Function Documentation

virtual const cms::Destination* activemq::core::ActiveMQDestinationEvent::getDestination ( ) const
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.

Implements cms::DestinationEvent.

decaf::lang::Pointer<commands::DestinationInfo> activemq::core::ActiveMQDestinationEvent::getDestinationInfo ( ) const
inline

Returns the DestinationInfo object that triggered this event.

Returns
the DestinationInfo object that triggered this event.
virtual bool activemq::core::ActiveMQDestinationEvent::isAddOperation ( ) const
virtual

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

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

Implements cms::DestinationEvent.

virtual bool activemq::core::ActiveMQDestinationEvent::isRemoveOperation ( ) const
virtual

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

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

Implements cms::DestinationEvent.


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