SWC-DB  v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
SWC::client::Mngr::ContextManager Class Referencefinal

#include <swcdb/manager/ClientContextManager.h>

+ Inheritance diagram for SWC::client::Mngr::ContextManager:
+ Collaboration diagram for SWC::client::Mngr::ContextManager:

Public Member Functions

 ContextManager ()
 
virtual ~ContextManager () noexcept
 
void handle_disconnect (Comm::ConnHandlerPtr) noexcept override
 
- Public Member Functions inherited from SWC::client::ContextManager
 ContextManager (const Config::Settings &settings)
 
void handle_established (Comm::ConnHandlerPtr) override
 
void handle (Comm::ConnHandlerPtr conn, const Comm::Event::Ptr &ev) override
 
- Public Member Functions inherited from SWC::Comm::AppContext
SWC_CAN_INLINE AppContext (Config::Property::Value_enum_g::Ptr a_cfg_encoder) noexcept
 
 AppContext (AppContext &&)=delete
 
 AppContext (const AppContext &)=delete
 
AppContextoperator= (AppContext &&)=delete
 
AppContextoperator= (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

- Public Types inherited from SWC::client::ContextManager
typedef std::shared_ptr< ContextManagerPtr
 
- Public Types inherited from SWC::Comm::AppContext
typedef std::shared_ptr< AppContextPtr
 
- Public Attributes inherited from SWC::Comm::AppContext
const Config::Property::Value_enum_g::Ptr cfg_encoder
 
- Protected Member Functions inherited from SWC::Comm::AppContext
virtual ~AppContext () noexcept
 

Detailed Description

Definition at line 16 of file ClientContextManager.h.

Constructor & Destructor Documentation

◆ ContextManager()

SWC::client::Mngr::ContextManager::ContextManager ( )
inline

Definition at line 19 of file ClientContextManager.h.

◆ ~ContextManager()

virtual SWC::client::Mngr::ContextManager::~ContextManager ( )
inlinevirtualnoexcept

Reimplemented from SWC::client::ContextManager.

Definition at line 21 of file ClientContextManager.h.

Member Function Documentation

◆ handle_disconnect()

void SWC::client::Mngr::ContextManager::handle_disconnect ( Comm::ConnHandlerPtr  conn)
overridevirtualnoexcept

Reimplemented from SWC::client::ContextManager.

Definition at line 10 of file ClientContextManager.cc.

References SWC::Manager::MngrRole::disconnection(), and SWC::Env::Mngr::role().

+ Here is the call graph for this function:

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