Class ServiceObject

Inheritance Relationships

Base Types

Derived Types

Class Documentation

class ServiceObject : public email::GidObject, public email::NamedObject

Abstract service object.

Abstract class representing common service elements.

Subclassed by email::ServiceClient, email::ServiceServer

Public Functions

const std::string &get_service_name() const

Get the service name.

Returns:

the service name

Protected Functions

explicit ServiceObject(const std::string &service_name)

Constructor.

Validates the service name.

Parameters:

service_name – the service name

Throws:

ServiceNameInvalidError – if the service name is invalid

virtual ~ServiceObject()