cms::Destination Class Reference

#include <Destination.h>

Inheritance diagram for cms::Destination:

cms::Queue cms::TemporaryQueue cms::TemporaryTopic cms::Topic List of all members.

Public Types

enum  DestinationType { TOPIC, QUEUE, TEMPORARY_TOPIC, TEMPORARY_QUEUE }

Public Member Functions

virtual ~Destination (void)
virtual DestinationType getDestinationType (void) const =0
virtual std::string toString (void) const =0
virtual std::string toProviderString (void) const =0
virtual cms::Destinationclone (void) const =0
virtual void copy (const cms::Destination &source)=0
virtual const activemq::util::Properties & getProperties (void) const =0

Detailed Description

A Destination object encapsulates a provider-specific address.


Member Enumeration Documentation

enum cms::Destination::DestinationType
 

Enumerator:
TOPIC 
QUEUE 
TEMPORARY_TOPIC 
TEMPORARY_QUEUE 


Constructor & Destructor Documentation

virtual cms::Destination::~Destination void   )  [inline, virtual]
 

Destructor


Member Function Documentation

virtual cms::Destination* cms::Destination::clone void   )  const [pure virtual]
 

Creates a new instance of this destination type that is a copy of this one, and returns it.

Returns:
cloned copy of this object

virtual void cms::Destination::copy const cms::Destination source  )  [pure virtual]
 

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

Parameters:
source The source Destination object.

virtual DestinationType cms::Destination::getDestinationType void   )  const [pure virtual]
 

Retrieve the Destination Type for this Destination

Returns:
The Destination Type

virtual const activemq::util::Properties& cms::Destination::getProperties void   )  const [pure virtual]
 

Retrieve any properties that might be part of the destination that was specified. This is a deviation from the JMS spec but necessary due to C++ restrictions.

Returns:
const reference to a properties object.

virtual std::string cms::Destination::toProviderString void   )  const [pure virtual]
 

Converts the Destination to a String value representing the Provider specific name fot this destination, which is not necessarily equal to the User Supplied name of the Destination

Returns:
Provider specific Name

virtual std::string cms::Destination::toString void   )  const [pure virtual]
 

Converts the Destination Name into a String

Returns:
string name


The documentation for this class was generated from the following file:
Generated on Thu Aug 3 16:39:15 2006 for cms by  doxygen 1.4.5