33 #ifndef _IDENTT_WORK_WORKSERVER_HPP_ 34 #define _IDENTT_WORK_WORKSERVER_HPP_ 45 virtual public std::enable_shared_from_this<WorkServer> {
48 using pointer=std::shared_ptr<WorkServer>;
67 static pointer
create(identt::utils::SharedTable::pointer stptr)
81 return shared_from_this();
104 const static identt::utils::ServerBase::ParamsListT
GetRequire();
115 void init(identt::utils::ServerBase::ParamsListT params);
134 WorkServer(identt::utils::SharedTable::pointer stptr);
void stop()
stop : shutdown
Definition: WorkServer.cc:141
Definition: WorkServer.hpp:42
static const std::string GetSection()
GetSection : section required.
Definition: WorkServer.cc:52
static pointer create(identt::utils::SharedTable::pointer stptr)
create : static construction creates new first time
Definition: WorkServer.hpp:67
Definition: StoreBase.hpp:58
WorkServer()=delete
make noncopyable
static const identt::utils::ServerBase::ParamsListT GetRequire()
GetRequire : parameters required.
Definition: WorkServer.cc:57
pointer share()
share : return instance
Definition: WorkServer.hpp:79
Definition: CryptoBase.hpp:49
void init(identt::utils::ServerBase::ParamsListT params)
init : initialize rocksdb and others
Definition: WorkServer.cc:67
virtual ~WorkServer()
destructor
Definition: WorkServer.cc:47
Definition: ServerBase.hpp:46