activemq-cpp-3.4.0

cms::Topic Class Reference

An interface encapsulating a provider-specific topic name. More...

#include <src/main/cms/Topic.h>

Inheritance diagram for cms::Topic:

Public Member Functions

virtual ~Topic () throw ()
virtual std::string getTopicName () const =0
 Gets the name of this topic.

Detailed Description

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.

Since:
1.0

Constructor & Destructor Documentation

virtual cms::Topic::~Topic ( ) throw () [virtual]

Member Function Documentation

virtual std::string cms::Topic::getTopicName ( ) const [pure virtual]

Gets the name of this topic.

Returns:
The topic name.
Exceptions:
CMSException- If an internal error occurs.

Implemented in activemq::commands::ActiveMQTopic.


The documentation for this class was generated from the following file: