18#ifndef _ACTIVEMQ_COMMANDS_MESSAGEDISPATCHNOTIFICATION_H_
19#define _ACTIVEMQ_COMMANDS_MESSAGEDISPATCHNOTIFICATION_H_
23#pragma warning( disable : 4290 )
59 const static unsigned char ID_MESSAGEDISPATCHNOTIFICATION = 90;
#define AMQCPP_API
Definition: Config.h:30
Definition: BaseCommand.h:27
Definition: DataStructure.h:27
Definition: MessageDispatchNotification.h:49
virtual void copyDataStructure(const DataStructure *src)
Copy the contents of the passed object into this objects members, overwriting any existing data.
Pointer< ActiveMQDestination > destination
Definition: MessageDispatchNotification.h:53
virtual void setMessageId(const Pointer< MessageId > &messageId)
virtual void setDestination(const Pointer< ActiveMQDestination > &destination)
virtual Pointer< MessageId > & getMessageId()
virtual Pointer< ConsumerId > & getConsumerId()
virtual void setDeliverySequenceId(long long deliverySequenceId)
virtual bool isMessageDispatchNotification() const
Definition: MessageDispatchNotification.h:100
virtual const Pointer< ActiveMQDestination > & getDestination() const
virtual long long getDeliverySequenceId() const
virtual void setConsumerId(const Pointer< ConsumerId > &consumerId)
virtual std::string toString() const
Returns a string containing the information for this DataStructure such as its type and value of its ...
virtual unsigned char getDataStructureType() const
Get the DataStructure Type as defined in CommandTypes.h.
virtual const Pointer< MessageId > & getMessageId() const
Pointer< ConsumerId > consumerId
Definition: MessageDispatchNotification.h:52
virtual Pointer< Command > visit(activemq::state::CommandVisitor *visitor)
Allows a Visitor to visit this command and return a response to the command based on the command type...
MessageDispatchNotification()
virtual ~MessageDispatchNotification()
long long deliverySequenceId
Definition: MessageDispatchNotification.h:54
Pointer< MessageId > messageId
Definition: MessageDispatchNotification.h:55
virtual MessageDispatchNotification * cloneDataStructure() const
Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of ...
virtual Pointer< ActiveMQDestination > & getDestination()
virtual const Pointer< ConsumerId > & getConsumerId() const
virtual bool equals(const DataStructure *value) const
Compares the DataStructure passed in to this one, and returns if they are equivalent.
Interface for an Object that can visit the various Command Objects that are sent from and to this cli...
Definition: CommandVisitor.h:69
Decaf's implementation of a Smart Pointer that is a template on a Type and is Thread Safe if the defa...
Definition: Pointer.h:53
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition: CachedConsumer.h:24