activemq::connector::stomp::StompDestination< T > Class Template Reference

#include <StompDestination.h>

Inheritance diagram for activemq::connector::stomp::StompDestination< T >:

activemq::core::ActiveMQDestination< T > List of all members.

Public Member Functions

 StompDestination (const cms::Destination *source)
 StompDestination (const std::string &name, cms::Destination::DestinationType type)
virtual ~StompDestination (void)
virtual std::string toProviderString (void) const
virtual std::string toString (void) const

Protected Member Functions

virtual std::string getPrefix (void) const =0

Detailed Description

template<typename T>
class activemq::connector::stomp::StompDestination< T >

Templatized Destination Class that bundles all the common aspects of a Stomp Destination into one class. The template arguement is one of Topic, Queue, TemporaryTopic, or TemporaryQueue.


Constructor & Destructor Documentation

template<typename T>
activemq::connector::stomp::StompDestination< T >::StompDestination const cms::Destination *  source  )  [inline]
 

Copy Consturctor

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

template<typename T>
activemq::connector::stomp::StompDestination< T >::StompDestination const std::string &  name,
cms::Destination::DestinationType  type
[inline]
 

Custom Constructor

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

template<typename T>
virtual activemq::connector::stomp::StompDestination< T >::~StompDestination void   )  [inline, virtual]
 


Member Function Documentation

template<typename T>
virtual std::string activemq::connector::stomp::StompDestination< T >::getPrefix void   )  const [protected, pure virtual]
 

Retrieves the proper Stomp Prefix for the specified type of Destination

Returns:
string prefix

Implemented in activemq::connector::stomp::StompQueue, and activemq::connector::stomp::StompTopic.

template<typename T>
virtual std::string activemq::connector::stomp::StompDestination< T >::toProviderString void   )  const [inline, virtual]
 

Retrieves the name of this destination, plus the stomp destination decorator

Returns:
name in a format that is used by the broker

template<typename T>
virtual std::string activemq::connector::stomp::StompDestination< T >::toString void   )  const [inline, virtual]
 

Converts the Destination Name into a String minus the stomp decorator

Returns:
string name of the desintation


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