Sese Framework  2.3.0
A cross-platform framework
Loading...
Searching...
No Matches
sese::service::Service Class Referenceabstract

Service Interface. More...

#include <Service.h>

Inheritance diagram for sese::service::Service:
sese::internal::net::service::dns::DnsService sese::service::http::HttpService sese::internal::service::http::HttpServiceImpl

Public Types

using Ptr = std::unique_ptr<Service>
 

Public Member Functions

 Service ()=default
 
virtual ~Service ()=default
 
virtual bool startup ()=0
 
virtual bool shutdown ()=0
 
virtual int getLastError ()=0
 
virtual std::string getLastErrorMessage ()=0
 
ErrorCode getErrorCode ()
 

Detailed Description

Service Interface.

Member Typedef Documentation

◆ Ptr

using sese::service::Service::Ptr = std::unique_ptr<Service>

Constructor & Destructor Documentation

◆ Service()

sese::service::Service::Service ( )
default

◆ ~Service()

virtual sese::service::Service::~Service ( )
virtualdefault

Member Function Documentation

◆ getErrorCode()

sese::ErrorCode sese::service::Service::getErrorCode ( )

◆ getLastError()

virtual int sese::service::Service::getLastError ( )
pure virtual

◆ getLastErrorMessage()

virtual std::string sese::service::Service::getLastErrorMessage ( )
pure virtual

◆ shutdown()

virtual bool sese::service::Service::shutdown ( )
pure virtual

◆ startup()

virtual bool sese::service::Service::startup ( )
pure virtual

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