18 #ifndef _ACTIVEMQ_COMMANDS_ACTIVEMQTEMPDESTINATION_H_
19 #define _ACTIVEMQ_COMMANDS_ACTIVEMQTEMPDESTINATION_H_
41 using ActiveMQDestination::operator<;
42 using ActiveMQDestination::operator==;
61 const static unsigned char ID_ACTIVEMQTEMPDESTINATION = 0;
74 virtual
unsigned char getDataStructureType()
const;
84 virtual std::string toString()
const;
106 virtual void close();
108 virtual void setPhysicalName(
const std::string& physicalName);
118 this->connection = connection;
127 return this->connection;
134 return this->connectionId;
virtual int compareTo(const ActiveMQDestination &value) const
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
Definition: ActiveMQTempDestination.h:34
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
#define AMQCPP_API
Definition: Config.h:30
core::ActiveMQConnection * getConnection() const
Retrieves the Parent Connection that created this Connection.
Definition: ActiveMQTempDestination.h:126
#define NULL
Definition: Config.h:33
Interface for a class that implements the close method.
Definition: Closeable.h:35
virtual bool operator<(const ActiveMQTempDestination &value) const
Definition: ActiveMQTempDestination.h:102
virtual bool equals(const DataStructure *value) const
Compares the DataStructure passed in to this one, and returns if they are equivalent.
virtual bool equals(const ActiveMQTempDestination &value) const
Definition: ActiveMQTempDestination.h:94
void setConnection(core::ActiveMQConnection *connection)
Sets the Parent Connection that is notified when this destination is destroyed.
Definition: ActiveMQTempDestination.h:117
std::string getConnectionId() const
Definition: ActiveMQTempDestination.h:133
Definition: DataStructure.h:27
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
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...
virtual int compareTo(const ActiveMQTempDestination &value) const
Definition: ActiveMQTempDestination.h:90
#define const
Definition: zconf.h:198
Concrete connection used for all connectors to the ActiveMQ broker.
Definition: ActiveMQConnection.h:61
virtual bool operator==(const ActiveMQTempDestination &value) const
Definition: ActiveMQTempDestination.h:98
std::string connectionId
The Connection Id of the Connection that created this Temporary Destination.
Definition: ActiveMQTempDestination.h:55
This interface imposes a total ordering on the objects of each class that implements it...
Definition: Comparable.h:33
Definition: ActiveMQDestination.h:38