Class PubSubObject

Inheritance Relationships

Base Types

Derived Types

Class Documentation

class PubSubObject : public email::GidObject, public email::NamedObject

Abstract pub or sub object.

Abstract class with common publisher and subscription elements.

Subclassed by email::Publisher, email::Subscription

Public Functions

const std::string &get_topic_name() const

Get the topic name.

Returns:

the topic name

Protected Functions

explicit PubSubObject(const std::string &topic_name)

Constructor.

Validates the topic name.

Parameters:

topic_name – the topic name

Throws:

TopicNameInvalidError – if the topic name is invalid

virtual ~PubSubObject()