activemq::core::ActiveMQDestinationEvent Class Reference

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

Inheritance diagram for activemq::core::ActiveMQDestinationEvent:
Inheritance graph
[legend]

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.
virtual bool isAddOperation () const
 Returns true if this events represents the addition of a Destination.
virtual bool isRemoveOperation () const
 Returns true if this events represents the removal of a Destination.
decaf::lang::Pointer
< commands::DestinationInfo
getDestinationInfo () const
 Returns the DestinationInfo object that triggered this event.

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:

Generated on 1 Dec 2014 for activemq-cpp-3.8.2 by  doxygen 1.6.1