activemq::commands::ActiveMQTempDestination Class Reference

#include <src/main/activemq/commands/ActiveMQTempDestination.h>

Inheritance diagram for activemq::commands::ActiveMQTempDestination:
Inheritance graph
[legend]

Public Member Functions

 ActiveMQTempDestination ()
 ActiveMQTempDestination (const std::string &name)
virtual ~ActiveMQTempDestination () throw ()
virtual unsigned char getDataStructureType () const
 Get the DataStructure Type as defined in CommandTypes.h.
virtual ActiveMQTempDestinationcloneDataStructure () const
 Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of this one.
virtual void copyDataStructure (const DataStructure *src)
virtual std::string toString () const
 Returns a string containing the information for this DataStructure such as its type and value of its elements.
virtual bool equals (const DataStructure *value) const
virtual void close ()
 Closes this object and deallocates the appropriate resources.
virtual void setPhysicalName (const std::string &physicalName)
 Set this destination's physical name.
void setConnection (core::ActiveMQConnection *connection)
 Sets the Parent Connection that is notified when this destination is destroyed.
core::ActiveMQConnectiongetConnection () const
 Retrieves the Parent Connection that created this Connection.
std::string getConnectionId () const

Static Public Attributes

static const unsigned char ID_ACTIVEMQTEMPDESTINATION = 0

Protected Attributes

core::ActiveMQConnectionconnection
 Connection that we call back on close to allow this resource to be cleaned up correctly at this end and at the Broker End.
std::string connectionId
 The Connection Id of the Connection that created this Temporary Destination.
int sequenceId

Constructor & Destructor Documentation

activemq::commands::ActiveMQTempDestination::ActiveMQTempDestination (  ) 
activemq::commands::ActiveMQTempDestination::ActiveMQTempDestination ( const std::string &  name  ) 
virtual activemq::commands::ActiveMQTempDestination::~ActiveMQTempDestination (  )  throw () [virtual]

Member Function Documentation

virtual ActiveMQTempDestination* activemq::commands::ActiveMQTempDestination::cloneDataStructure (  )  const [inline, virtual]

Clone this obbject and return a new instance that the caller now owns, this will be an exact copy of this one.

Returns:
new copy of this object.

Reimplemented from activemq::commands::ActiveMQDestination.

Reimplemented in activemq::commands::ActiveMQTempQueue, and activemq::commands::ActiveMQTempTopic.

References NULL.

virtual void activemq::commands::ActiveMQTempDestination::close (  )  [virtual]

Closes this object and deallocates the appropriate resources.

The object is generally no longer usable after calling close.

Exceptions:
CMSException - If an error occurs while the resource is being closed.

Implements cms::Closeable.

virtual void activemq::commands::ActiveMQTempDestination::copyDataStructure ( const DataStructure src  )  [inline, virtual]
virtual bool activemq::commands::ActiveMQTempDestination::equals ( const DataStructure value  )  const [inline, virtual]
core::ActiveMQConnection* activemq::commands::ActiveMQTempDestination::getConnection (  )  const [inline]

Retrieves the Parent Connection that created this Connection.

Returns:
pointer to a Connection if one was set, false otherwise.
std::string activemq::commands::ActiveMQTempDestination::getConnectionId (  )  const [inline]
Returns:
the connection Id of the Connection that created this temporary destination.
virtual unsigned char activemq::commands::ActiveMQTempDestination::getDataStructureType (  )  const [virtual]

Get the DataStructure Type as defined in CommandTypes.h.

Returns:
The type of the data structure

Reimplemented from activemq::commands::ActiveMQDestination.

Reimplemented in activemq::commands::ActiveMQTempQueue, and activemq::commands::ActiveMQTempTopic.

void activemq::commands::ActiveMQTempDestination::setConnection ( core::ActiveMQConnection connection  )  [inline]

Sets the Parent Connection that is notified when this destination is destroyed.

Parameters:
connection The parent connection to be used to destroy this destination if closed..
virtual void activemq::commands::ActiveMQTempDestination::setPhysicalName ( const std::string &  physicalName  )  [virtual]

Set this destination's physical name.

Returns:
const string containing the name

Reimplemented from activemq::commands::ActiveMQDestination.

virtual std::string activemq::commands::ActiveMQTempDestination::toString (  )  const [virtual]

Returns a string containing the information for this DataStructure such as its type and value of its elements.

Returns:
formatted string useful for debugging.

Reimplemented from activemq::commands::ActiveMQDestination.

Reimplemented in activemq::commands::ActiveMQTempQueue, and activemq::commands::ActiveMQTempTopic.


Field Documentation

Connection that we call back on close to allow this resource to be cleaned up correctly at this end and at the Broker End.

The Connection Id of the Connection that created this Temporary Destination.


The documentation for this class was generated from the following file:

Generated on 1 Dec 2014 for activemq-cpp-3.8.2 by  doxygen 1.6.1