18 #ifndef _ACTIVEMQ_COMMANDS_ACTIVEMQTOPIC_H_
19 #define _ACTIVEMQ_COMMANDS_ACTIVEMQTOPIC_H_
36 const static unsigned char ID_ACTIVEMQTOPIC = 101;
42 using ActiveMQDestination::operator<;
43 using ActiveMQDestination::operator==;
56 virtual
unsigned char getDataStructureType()
const;
62 virtual std::
string toString() const;
66 virtual const cms::Topic* getCMSDestination()
const {
81 this->copyDataStructure(dynamic_cast<const DataStructure*>(&source));
85 return this->getOptions();
93 return this->getPhysicalName();
An interface encapsulating a provider-specific topic name.
Definition: Topic.h:36
virtual int compareTo(const ActiveMQDestination &value) const
virtual const cms::CMSProperties & getCMSProperties() const
Retrieve any properties that might be part of the destination that was specified. ...
Definition: ActiveMQTopic.h:84
virtual void copy(const cms::Destination &source)
Copies the contents of the given Destination object to this one.
Definition: ActiveMQTopic.h:80
Definition: ActiveMQTopic.h:33
A Destination object encapsulates a provider-specific address.
Definition: Destination.h:39
#define AMQCPP_API
Definition: Config.h:30
virtual bool equals(const DataStructure *value) const
Compares the DataStructure passed in to this one, and returns if they are equivalent.
Definition: DataStructure.h:27
virtual cms::Destination::DestinationType getDestinationType() const
Returns the Type of Destination that this object represents.
Definition: ActiveMQTopic.h:72
Definition: Destination.h:43
Interface for a Java-like properties object.
Definition: CMSProperties.h:34
virtual std::string getTopicName() const
Gets the name of this topic.
Definition: ActiveMQTopic.h:92
DestinationType
Definition: Destination.h:42
#define const
Definition: zconf.h:198
virtual cms::Destination * clone() const
Creates a new instance of this destination type that is a copy of this one, and returns it...
Definition: ActiveMQTopic.h:76
Definition: ActiveMQDestination.h:38