Class ServiceObject
Defined in File service.hpp
Inheritance Relationships
Base Types
public email::GidObject
(Class GidObject)public email::NamedObject
(Class NamedObject)
Derived Types
public email::ServiceClient
(Class ServiceClient)public email::ServiceServer
(Class ServiceServer)
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()
-
const std::string &get_service_name() const