activemq-cpp-3.9.0
|
An interface encapsulating a provider-specific topic name. More...
#include <src/main/cms/Topic.h>
Public Member Functions | |
virtual | ~Topic () |
virtual std::string | getTopicName () const =0 |
Gets the name of this topic. More... | |
![]() | |
virtual | ~Destination () |
virtual DestinationType | getDestinationType () const =0 |
Retrieve the Destination Type for this Destination. More... | |
virtual cms::Destination * | clone () const =0 |
Creates a new instance of this destination type that is a copy of this one, and returns it. More... | |
virtual void | copy (const cms::Destination &source)=0 |
Copies the contents of the given Destination object to this one. More... | |
virtual bool | equals (const cms::Destination &other) const =0 |
Compares two Destination instances to determine if they represent the same logic Destination. More... | |
virtual const CMSProperties & | getCMSProperties () const =0 |
Retrieve any properties that might be part of the destination that was specified. More... | |
Additional Inherited Members | |
![]() | |
enum | DestinationType { TOPIC, QUEUE, TEMPORARY_TOPIC, TEMPORARY_QUEUE } |
An interface encapsulating a provider-specific topic name.
A Topic is a Publish / Subscribe type Destination. All Messages sent to a Topic are broadcast to all Subscribers of that Topic unless the Subscriber defines a Message selector that filters out that Message.
|
virtual |
|
pure virtual |
Gets the name of this topic.
CMSException | - If an internal error occurs. |
Implemented in activemq::commands::ActiveMQTopic, and activemq::commands::ActiveMQTempTopic.