activemq::core::ActiveMQDestination< T > Class Template Reference

#include <ActiveMQDestination.h>

Inheritance diagram for activemq::core::ActiveMQDestination< T >:

activemq::connector::stomp::StompDestination< T > List of all members.

Public Member Functions

 ActiveMQDestination (const cms::Destination *source)
 ActiveMQDestination (const std::string &dest, cms::Destination::DestinationType destType)
virtual ~ActiveMQDestination ()
virtual const util::PropertiesgetProperties () const
virtual void setProperties (const util::Properties &properties)
virtual const std::string & getName () const
virtual void setName (const std::string &name)
virtual cms::Destination::DestinationType getDestinationType () const
virtual void setDestinationType (cms::Destination::DestinationType destType)
virtual void copy (const cms::Destination &source)

Private Attributes

util::SimpleProperties properties
cms::Destination::DestinationType destType
std::string name

template<typename T>
class activemq::core::ActiveMQDestination< T >


Constructor & Destructor Documentation

template<typename T>
activemq::core::ActiveMQDestination< T >::ActiveMQDestination const cms::Destination *  source  )  [inline]
 

Copy Consturctor

Parameters:
source CMS Dest to Copy, must be a compatible type

template<typename T>
activemq::core::ActiveMQDestination< T >::ActiveMQDestination const std::string &  dest,
cms::Destination::DestinationType  destType
[inline]
 

Custom Constructor

Parameters:
dest string destination name plus any params
destType type of destination this represents.

template<typename T>
virtual activemq::core::ActiveMQDestination< T >::~ActiveMQDestination  )  [inline, virtual]
 


Member Function Documentation

template<typename T>
virtual void activemq::core::ActiveMQDestination< T >::copy const cms::Destination &  source  )  [inline, virtual]
 

Copies the contents of the given Destinastion object to this one.

Parameters:
source The source Destination object.

template<typename T>
virtual cms::Destination::DestinationType activemq::core::ActiveMQDestination< T >::getDestinationType  )  const [inline, virtual]
 

Retrieve the Destination Type for this Destination

Returns:
The Destination Type

template<typename T>
virtual const std::string& activemq::core::ActiveMQDestination< T >::getName  )  const [inline, virtual]
 

Gets the Destination Name minus any optional params that can be appended to the destination with an ?

Returns:
destination name minus params

template<typename T>
virtual const util::Properties& activemq::core::ActiveMQDestination< T >::getProperties  )  const [inline, virtual]
 

Get the properties of this Destination, these are the optional params that can be specified on a destination name i.e/ TEST.QUEUE?consumer.dispatchAsync=false&consumer.prefetchSize=10

Returns:
const reference to a properties object

template<typename T>
virtual void activemq::core::ActiveMQDestination< T >::setDestinationType cms::Destination::DestinationType  destType  )  [inline, virtual]
 

Set the Destination Type for this Destination

Parameters:
destType The Destination Type

template<typename T>
virtual void activemq::core::ActiveMQDestination< T >::setName const std::string &  name  )  [inline, virtual]
 

Sets the Destination Name minus any optional params that can be appended to the destination with an ?

Parameters:
name destination name minus params

template<typename T>
virtual void activemq::core::ActiveMQDestination< T >::setProperties const util::Properties properties  )  [inline, virtual]
 

Copy the contents of the given properties object to this objects Properties object. Existing values are erased.

Parameters:
properties the Properties to copy to this object.


Member Data Documentation

template<typename T>
cms::Destination::DestinationType activemq::core::ActiveMQDestination< T >::destType [private]
 

template<typename T>
std::string activemq::core::ActiveMQDestination< T >::name [private]
 

template<typename T>
util::SimpleProperties activemq::core::ActiveMQDestination< T >::properties [private]
 


The documentation for this class was generated from the following file:
Generated on Thu Aug 3 18:03:32 2006 for activemq-cpp by  doxygen 1.4.5