18#ifndef _ACTIVEMQ_COMMANDS_ACTIVEMQTEMPDESTINATION_H_
19#define _ACTIVEMQ_COMMANDS_ACTIVEMQTEMPDESTINATION_H_
34 class AMQCPP_API ActiveMQTempDestination :
public ActiveMQDestination,
41 using ActiveMQDestination::operator<;
42 using ActiveMQDestination::operator==;
65 ActiveMQTempDestination(
const ActiveMQTempDestination&);
66 ActiveMQTempDestination& operator=(
const ActiveMQTempDestination&);
90 virtual int compareTo(
const ActiveMQTempDestination& value)
const {
94 virtual bool equals(
const ActiveMQTempDestination& value)
const {
98 virtual bool operator==(
const ActiveMQTempDestination& value)
const {
102 virtual bool operator<(
const ActiveMQTempDestination& value)
const {
127 return this->connection;
134 return this->connectionId;
#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.
virtual int compareTo(const ActiveMQDestination &value) const
std::string physicalName
Definition ActiveMQDestination.h:68
virtual void copyDataStructure(const DataStructure *src)
Copy the contents of the passed object into this objects members, overwriting any existing data.
virtual bool operator<(const ActiveMQTempDestination &value) const
Definition ActiveMQTempDestination.h:102
static const unsigned char ID_ACTIVEMQTEMPDESTINATION
Definition ActiveMQTempDestination.h:61
std::string getConnectionId() const
Definition ActiveMQTempDestination.h:133
std::string connectionId
The Connection Id of the Connection that created this Temporary Destination.
Definition ActiveMQTempDestination.h:55
int sequenceId
Definition ActiveMQTempDestination.h:57
virtual void copyDataStructure(const DataStructure *src)
Copy the contents of the passed object into this objects members, overwriting any existing data.
Definition ActiveMQTempDestination.h:80
virtual void close()
Closes this object and deallocates the appropriate resources.
ActiveMQTempDestination(const std::string &name)
ActiveMQTempDestination()
void setConnection(core::ActiveMQConnection *connection)
Sets the Parent Connection that is notified when this destination is destroyed.
Definition ActiveMQTempDestination.h:117
virtual std::string toString() const
Returns a string containing the information for this DataStructure such as its type and value of its ...
core::ActiveMQConnection * getConnection() const
Retrieves the Parent Connection that created this Connection.
Definition ActiveMQTempDestination.h:126
core::ActiveMQConnection * connection
Connection that we call back on close to allow this resource to be cleaned up correctly at this end a...
Definition ActiveMQTempDestination.h:50
virtual bool operator==(const ActiveMQTempDestination &value) const
Definition ActiveMQTempDestination.h:98
virtual unsigned char getDataStructureType() const
Get the DataStructure Type as defined in CommandTypes.h.
virtual void setPhysicalName(const std::string &physicalName)
Set this destination's physical name.
virtual ActiveMQTempDestination * cloneDataStructure() const
Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of ...
Definition ActiveMQTempDestination.h:76
virtual bool equals(const DataStructure *value) const
Compares the DataStructure passed in to this one, and returns if they are equivalent.
Definition ActiveMQTempDestination.h:86
virtual bool equals(const ActiveMQTempDestination &value) const
Definition ActiveMQTempDestination.h:94
virtual ~ActiveMQTempDestination()
virtual int compareTo(const ActiveMQTempDestination &value) const
Definition ActiveMQTempDestination.h:90
Definition DataStructure.h:27
Concrete connection used for all connectors to the ActiveMQ broker.
Definition ActiveMQConnection.h:62
Interface for a class that implements the close method.
Definition Closeable.h:35
This interface imposes a total ordering on the objects of each class that implements it.
Definition Comparable.h:33
#define NULL
Definition Config.h:33
Definition ActiveMQBlobMessage.h:28
Definition ActiveMQTempDestination.h:29
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition CachedConsumer.h:24
#define const
Definition zconf.h:198