18#ifndef _ACTIVEMQ_COMMANDS_ACTIVEMQQUEUE_H_
19#define _ACTIVEMQ_COMMANDS_ACTIVEMQQUEUE_H_
23#pragma warning( disable : 4290 )
41 const static unsigned char ID_ACTIVEMQQUEUE = 100;
45 using ActiveMQDestination::compareTo;
46 using ActiveMQDestination::equals;
47 using ActiveMQDestination::operator<;
48 using ActiveMQDestination::operator==;
63 virtual
unsigned char getDataStructureType()
const;
73 virtual
const cms::Queue* getCMSDestination()
const {
88 this->copyDataStructure(
dynamic_cast<const DataStructure*
>(&source));
92 return this->getOptions();
100 return this->getPhysicalName();
#define AMQCPP_API
Definition: Config.h:30
Definition: ActiveMQDestination.h:39
Definition: ActiveMQQueue.h:38
virtual const cms::CMSProperties & getCMSProperties() const
Retrieve any properties that might be part of the destination that was specified.
Definition: ActiveMQQueue.h:91
virtual void copy(const cms::Destination &source)
Copies the contents of the given Destination object to this one.
Definition: ActiveMQQueue.h:87
ActiveMQQueue(const std::string &name)
virtual cms::Destination * clone() const
Creates a new instance of this destination type that is a copy of this one, and returns it.
Definition: ActiveMQQueue.h:83
virtual cms::Destination::DestinationType getDestinationType() const
Returns the Type of Destination that this object represents.
Definition: ActiveMQQueue.h:79
virtual bool equals(const cms::Destination &other) const
Compares two Destination instances to determine if they represent the same logic Destination.
virtual std::string getQueueName() const
Gets the name of this queue.
Definition: ActiveMQQueue.h:99
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
@ QUEUE
Definition: Destination.h:44
An interface encapsulating a provider-specific queue name.
Definition: Queue.h:37
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