#include <swcdb/db/client/service/mngr/ContextManager.h>
Public Types | |
typedef std::shared_ptr< ContextManager > | Ptr |
![]() | |
typedef std::shared_ptr< AppContext > | Ptr |
Public Member Functions | |
ContextManager (const Config::Settings &settings) | |
virtual | ~ContextManager () noexcept |
void | handle_established (Comm::ConnHandlerPtr) override |
void | handle_disconnect (Comm::ConnHandlerPtr) noexcept override |
void | handle (Comm::ConnHandlerPtr conn, const Comm::Event::Ptr &ev) override |
![]() | |
SWC_CAN_INLINE | AppContext (Config::Property::Value_enum_g::Ptr a_cfg_encoder) noexcept |
AppContext (AppContext &&)=delete | |
AppContext (const AppContext &)=delete | |
AppContext & | operator= (AppContext &&)=delete |
AppContext & | operator= (const AppContext &)=delete |
virtual void | init (const std::string &, const EndPoints &) |
virtual void | stop () |
virtual void | net_bytes_sent (const ConnHandlerPtr &, size_t) noexcept |
virtual void | net_bytes_received (const ConnHandlerPtr &, size_t) noexcept |
virtual void | net_accepted (const EndPoint &, bool) noexcept |
Additional Inherited Members | |
![]() | |
const Config::Property::Value_enum_g::Ptr | cfg_encoder |
![]() | |
virtual | ~AppContext () noexcept |
Definition at line 15 of file ContextManager.h.
typedef std::shared_ptr<ContextManager> SWC::client::ContextManager::Ptr |
Definition at line 18 of file ContextManager.h.
SWC::client::ContextManager::ContextManager | ( | const Config::Settings & | settings | ) |
Definition at line 12 of file ContextManager.cc.
|
inlinevirtualnoexcept |
Reimplemented in SWC::client::Mngr::ContextManager.
Definition at line 22 of file ContextManager.h.
|
overridevirtual |
Implements SWC::Comm::AppContext.
Definition at line 18 of file ContextManager.cc.
References SWC::LOG_WARN, SWC_LOG_OSTREAM, and SWC_LOG_OUT.
|
inlineoverridevirtualnoexcept |
Implements SWC::Comm::AppContext.
Reimplemented in SWC::client::Mngr::ContextManager.
Definition at line 26 of file ContextManager.h.
|
inlineoverridevirtual |
Implements SWC::Comm::AppContext.
Definition at line 24 of file ContextManager.h.