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;
66 virtual
const cms::Topic* getCMSDestination()
const {
81 this->copyDataStructure(
dynamic_cast<const DataStructure*
>(&source));
85 return this->getOptions();
93 return this->getPhysicalName();
#define AMQCPP_API
Definition: Config.h:30
Definition: ActiveMQDestination.h:39
virtual bool equals(const DataStructure *value) const
Compares the DataStructure passed in to this one, and returns if they are equivalent.
virtual int compareTo(const ActiveMQDestination &value) const
Definition: ActiveMQTopic.h:33
virtual cms::Destination::DestinationType getDestinationType() const
Returns the Type of Destination that this object represents.
Definition: ActiveMQTopic.h:72
virtual bool equals(const cms::Destination &other) const
Compares two Destination instances to determine if they represent the same logic Destination.
virtual const cms::CMSProperties & getCMSProperties() const
Retrieve any properties that might be part of the destination that was specified.
Definition: ActiveMQTopic.h:84
ActiveMQTopic(const std::string &name)
virtual std::string getTopicName() const
Gets the name of this topic.
Definition: ActiveMQTopic.h:92
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
virtual void copy(const cms::Destination &source)
Copies the contents of the given Destination object to this one.
Definition: ActiveMQTopic.h:80
Definition: DataStructure.h:27
Interface for a Java-like properties object.
Definition: CMSProperties.h:34
A Destination object encapsulates a provider-specific address.
Definition: Destination.h:39
DestinationType
Definition: Destination.h:42
@ TOPIC
Definition: Destination.h:43
An interface encapsulating a provider-specific topic name.
Definition: Topic.h:36
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition: CachedConsumer.h:24
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition: DestinationResolver.h:23
Definition: ArrayPointer.h:432
#define const
Definition: zconf.h:198