activemq-cpp-3.4.0

activemq::commands::MessageDispatchNotification Class Reference

#include <src/main/activemq/commands/MessageDispatchNotification.h>

Inheritance diagram for activemq::commands::MessageDispatchNotification:

Public Member Functions

 MessageDispatchNotification ()
virtual ~MessageDispatchNotification ()
virtual unsigned char getDataStructureType () const
 Get the DataStructure Type as defined in CommandTypes.h.
virtual
MessageDispatchNotification
cloneDataStructure () const
 Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of this one.
virtual void copyDataStructure (const DataStructure *src)
 Copy the contents of the passed object into this objects members, overwriting any existing data.
virtual std::string toString () const
 Returns a string containing the information for this DataStructure such as its type and value of its elements.
virtual bool equals (const DataStructure *value) const
 Compares the DataStructure passed in to this one, and returns if they are equivalent.
virtual const Pointer
< ConsumerId > & 
getConsumerId () const
virtual Pointer< ConsumerId > & getConsumerId ()
virtual void setConsumerId (const Pointer< ConsumerId > &consumerId)
virtual const Pointer
< ActiveMQDestination > & 
getDestination () const
virtual Pointer
< ActiveMQDestination > & 
getDestination ()
virtual void setDestination (const Pointer< ActiveMQDestination > &destination)
virtual long long getDeliverySequenceId () const
virtual void setDeliverySequenceId (long long deliverySequenceId)
virtual const Pointer
< MessageId > & 
getMessageId () const
virtual Pointer< MessageId > & getMessageId ()
virtual void setMessageId (const Pointer< MessageId > &messageId)
virtual bool isMessageDispatchNotification () const
virtual Pointer< Commandvisit (activemq::state::CommandVisitor *visitor)
 Allows a Visitor to visit this command and return a response to the command based on the command type being visited.

Static Public Attributes

static const unsigned char ID_MESSAGEDISPATCHNOTIFICATION = 90

Protected Attributes

Pointer< ConsumerIdconsumerId
Pointer< ActiveMQDestinationdestination
long long deliverySequenceId
Pointer< MessageIdmessageId

Constructor & Destructor Documentation

activemq::commands::MessageDispatchNotification::MessageDispatchNotification ( )
virtual activemq::commands::MessageDispatchNotification::~MessageDispatchNotification ( ) [virtual]

Member Function Documentation

virtual MessageDispatchNotification* activemq::commands::MessageDispatchNotification::cloneDataStructure ( ) const [virtual]

Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of this one.

Returns:
new copy of this object.

Implements activemq::commands::DataStructure.

virtual void activemq::commands::MessageDispatchNotification::copyDataStructure ( const DataStructure src) [virtual]

Copy the contents of the passed object into this objects members, overwriting any existing data.

Returns:
src - Source Object

Reimplemented from activemq::commands::BaseCommand.

virtual bool activemq::commands::MessageDispatchNotification::equals ( const DataStructure value) const [virtual]

Compares the DataStructure passed in to this one, and returns if they are equivalent.

Equivalent here means that they are of the same type, and that each element of the objects are the same.

Returns:
true if DataStructure's are Equal.

Reimplemented from activemq::commands::BaseCommand.

virtual const Pointer<ConsumerId>& activemq::commands::MessageDispatchNotification::getConsumerId ( ) const [virtual]
virtual Pointer<ConsumerId>& activemq::commands::MessageDispatchNotification::getConsumerId ( ) [virtual]
virtual unsigned char activemq::commands::MessageDispatchNotification::getDataStructureType ( ) const [virtual]

Get the DataStructure Type as defined in CommandTypes.h.

Returns:
The type of the data structure

Implements activemq::commands::DataStructure.

virtual long long activemq::commands::MessageDispatchNotification::getDeliverySequenceId ( ) const [virtual]
virtual const Pointer<ActiveMQDestination>& activemq::commands::MessageDispatchNotification::getDestination ( ) const [virtual]
virtual Pointer<ActiveMQDestination>& activemq::commands::MessageDispatchNotification::getDestination ( ) [virtual]
virtual Pointer<MessageId>& activemq::commands::MessageDispatchNotification::getMessageId ( ) [virtual]
virtual const Pointer<MessageId>& activemq::commands::MessageDispatchNotification::getMessageId ( ) const [virtual]
virtual bool activemq::commands::MessageDispatchNotification::isMessageDispatchNotification ( ) const [inline, virtual]
Returns:
an answer of true to the isMessageDispatchNotification() query.

Reimplemented from activemq::commands::BaseCommand.

virtual void activemq::commands::MessageDispatchNotification::setConsumerId ( const Pointer< ConsumerId > &  consumerId) [virtual]
virtual void activemq::commands::MessageDispatchNotification::setDeliverySequenceId ( long long  deliverySequenceId) [virtual]
virtual void activemq::commands::MessageDispatchNotification::setDestination ( const Pointer< ActiveMQDestination > &  destination) [virtual]
virtual void activemq::commands::MessageDispatchNotification::setMessageId ( const Pointer< MessageId > &  messageId) [virtual]
virtual std::string activemq::commands::MessageDispatchNotification::toString ( ) const [virtual]

Returns a string containing the information for this DataStructure such as its type and value of its elements.

Returns:
formatted string useful for debugging.

Reimplemented from activemq::commands::BaseCommand.

virtual Pointer<Command> activemq::commands::MessageDispatchNotification::visit ( activemq::state::CommandVisitor visitor) [virtual]

Allows a Visitor to visit this command and return a response to the command based on the command type being visited.

The command will call the proper processXXX method in the visitor.

Returns:
a Response to the visitor being called or NULL if no response.

Implements activemq::commands::Command.


Field Documentation


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