18#ifndef _ACTIVEMQ_COMMANDS_ACTIVEMQTEMPDESTINATION_H_
19#define _ACTIVEMQ_COMMANDS_ACTIVEMQTEMPDESTINATION_H_
39 using ActiveMQDestination::compareTo;
40 using ActiveMQDestination::equals;
41 using ActiveMQDestination::operator<;
42 using ActiveMQDestination::operator==;
61 const static unsigned char ID_ACTIVEMQTEMPDESTINATION = 0;
74 virtual
unsigned char getDataStructureType()
const;
81 ActiveMQDestination::copyDataStructure(src);
87 return ActiveMQDestination::equals(value);
91 return ActiveMQDestination::compareTo(value);
95 return ActiveMQDestination::equals(&value);
99 return ActiveMQDestination::equals(&value);
103 return ActiveMQDestination::compareTo(value) < 0;
118 this->connection = connection;
127 return this->connection;
134 return this->connectionId;
#define AMQCPP_API
Definition: Config.h:30
Definition: ActiveMQDestination.h:39
Definition: ActiveMQTempDestination.h:36
virtual bool operator<(const ActiveMQTempDestination &value) const
Definition: ActiveMQTempDestination.h:102
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 void setPhysicalName(const std::string &physicalName)
Set this destination's physical name.
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
Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements.
Definition: CachedConsumer.h:24
#define const
Definition: zconf.h:198