identt
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
identt::hrpc::SyncServer Class Reference
Inheritance diagram for identt::hrpc::SyncServer:
identt::utils::ServerBase

Public Types

using pointer = std::shared_ptr< SyncServer >
 
using HttpServerT = identt::http::HttpServer< identt::http::HTTP >
 
- Public Types inherited from identt::utils::ServerBase
using ParamsListT = std::vector< std::string >
 

Public Member Functions

 SyncServer ()=delete
 make noncopyable
 
 SyncServer (const SyncServer &)=delete
 
SyncServeroperator= (const SyncServer &)=delete
 
pointer share ()
 share : return instance More...
 
virtual ~SyncServer ()
 destructor
 
void init (identt::utils::ServerBase::ParamsListT params)
 init : initialize rocksdb and others More...
 
void stop ()
 stop : shutdown More...
 
- Public Member Functions inherited from identt::utils::ServerBase
 ServerBase (const ServerBase &)=delete
 make noncopyable
 
ServerBaseoperator= (const ServerBase &)=delete
 
virtual ~ServerBase ()
 destructor
 

Static Public Member Functions

static pointer create (std::shared_ptr<::identt::http::io_whatever > io_whatever_, identt::utils::SharedTable::pointer stptr)
 create : static construction creates new first time More...
 
static const std::string GetSection ()
 GetSection : section required. More...
 
static const identt::utils::ServerBase::ParamsListT GetRequire ()
 GetRequire : parameters required. More...
 
- Static Public Member Functions inherited from identt::utils::ServerBase
static const std::string GetSection ()
 GetSection : section required. More...
 
static const ParamsListT GetRequire ()
 GetRequire : parameters required. More...
 

Protected Attributes

std::shared_ptr< HttpServerTserver
 
std::shared_ptr<::identt::http::io_whatever > io_whatever
 
- Protected Attributes inherited from identt::utils::ServerBase
bool is_init
 
SharedTable::pointer sharedtable
 

Additional Inherited Members

- Protected Member Functions inherited from identt::utils::ServerBase
 ServerBase (SharedTable::pointer sharedtable_)
 Constructor : private. More...
 

Member Function Documentation

§ create()

static pointer identt::hrpc::SyncServer::create ( std::shared_ptr<::identt::http::io_whatever >  io_whatever_,
identt::utils::SharedTable::pointer  stptr 
)
inlinestatic

create : static construction creates new first time

Parameters
io_whatever_std::shared_ptr<::identt::http::io_whatever> ::identt::http::io_whatever pointer
stptridentt::utils::SharedTable::pointer sharedtable pointer
Returns
none

§ GetRequire()

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

GetRequire : parameters required.

Returns
ParamsListT

§ GetSection()

const std::string identt::hrpc::SyncServer::GetSection ( )
static

GetSection : section required.

Returns
std::string section

§ init()

void identt::hrpc::SyncServer::init ( identt::utils::ServerBase::ParamsListT  params)
virtual

init : initialize rocksdb and others

Parameters
paramsParamsListT parameters to init backend
Returns
none

Implements identt::utils::ServerBase.

§ share()

pointer identt::hrpc::SyncServer::share ( )
inline

share : return instance

Returns
none

§ stop()

void identt::hrpc::SyncServer::stop ( )
virtual

stop : shutdown

Returns
none

Implements identt::utils::ServerBase.


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