Public Types | |
enum | DestinationType { TOPIC, QUEUE, TEMPORARY_TOPIC, TEMPORARY_QUEUE } |
Public Member Functions | |
virtual | ~Destination () |
virtual DestinationType | getDestinationType () const=0 |
virtual std::string | toProviderString () const=0 |
virtual cms::Destination * | clone () const=0 |
virtual void | copy (const cms::Destination &source)=0 |
virtual const activemq::util::Properties & | getProperties () const=0 |
virtual cms::Destination::~Destination | ( | ) | [inline, virtual] |
Destructor
virtual DestinationType cms::Destination::getDestinationType | ( | ) | const [pure virtual] |
Retrieve the Destination Type for this Destination
virtual std::string cms::Destination::toProviderString | ( | ) | const [pure virtual] |
Converts the Destination to a String value representing the Provider specific name for this destination. This name must uniquely identify a particular destination. For example, a topic and a queue both named "FOO" must not have equivalent provider strings.
virtual cms::Destination* cms::Destination::clone | ( | ) | const [pure virtual] |
Creates a new instance of this destination type that is a copy of this one, and returns it.
virtual void cms::Destination::copy | ( | const cms::Destination & | source | ) | [pure virtual] |
Copies the contents of the given Destinastion object to this one.
source | The source Destination object. |
virtual const activemq::util::Properties& cms::Destination::getProperties | ( | ) | 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.