identt
Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
identt::utils::ServerBase Class Referenceabstract
Inheritance diagram for identt::utils::ServerBase:
identt::hrpc::SyncServer identt::http::SecureWebServer identt::http::WebServer identt::work::WorkServer

Public Types

using ParamsListT = std::vector< std::string >
 

Public Member Functions

 ServerBase (const ServerBase &)=delete
 make noncopyable
 
ServerBaseoperator= (const ServerBase &)=delete
 
virtual ~ServerBase ()
 destructor
 
virtual void init (ParamsListT params)=0
 init : initialize More...
 
virtual void stop ()=0
 stop : shutdown More...
 

Static Public Member Functions

static const std::string GetSection ()
 GetSection : section required. More...
 
static const ParamsListT GetRequire ()
 GetRequire : parameters required. More...
 

Protected Member Functions

 ServerBase (SharedTable::pointer sharedtable_)
 Constructor : private. More...
 

Protected Attributes

bool is_init
 
SharedTable::pointer sharedtable
 

Constructor & Destructor Documentation

§ ServerBase()

identt::utils::ServerBase::ServerBase ( SharedTable::pointer  sharedtable_)
inlineprotected

Constructor : private.

Parameters
sharedtable_SharedTable::pointer sharedtable pointer
Returns
none

Member Function Documentation

§ GetRequire()

static const ParamsListT identt::utils::ServerBase::GetRequire ( )
static

GetRequire : parameters required.

Returns
ParamsListT

§ GetSection()

static const std::string identt::utils::ServerBase::GetSection ( )
static

GetSection : section required.

Returns
std::string section

§ init()

virtual void identt::utils::ServerBase::init ( ParamsListT  params)
pure virtual

init : initialize

Parameters
paramsParamsListT parameters to init
Returns
none

Implemented in identt::hrpc::SyncServer, identt::work::WorkServer, identt::http::SecureWebServer, and identt::http::WebServer.

§ stop()

virtual void identt::utils::ServerBase::stop ( )
pure virtual

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