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::FsBroker::AppContext Class Referencefinal

#include <swcdb/fs/Broker/AppContext.h>

+ Inheritance diagram for SWC::client::FsBroker::AppContext:
+ Collaboration diagram for SWC::client::FsBroker::AppContext:

Public Types

typedef std::shared_ptr< AppContextPtr
 
- Public Types inherited from SWC::Comm::AppContext
typedef std::shared_ptr< AppContextPtr
 

Public Member Functions

 AppContext (const Config::Settings &settings)
 
virtual ~AppContext () noexcept
 
void handle_established (Comm::ConnHandlerPtr) override
 
void handle_disconnect (Comm::ConnHandlerPtr) noexcept override
 
void handle (Comm::ConnHandlerPtr, 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 Attributes inherited from SWC::Comm::AppContext
const Config::Property::Value_enum_g::Ptr cfg_encoder
 

Detailed Description

Definition at line 23 of file AppContext.h.

Member Typedef Documentation

◆ Ptr

Definition at line 26 of file AppContext.h.

Constructor & Destructor Documentation

◆ AppContext()

SWC::client::FsBroker::AppContext::AppContext ( const Config::Settings settings)
inline

Definition at line 28 of file AppContext.h.

◆ ~AppContext()

virtual SWC::client::FsBroker::AppContext::~AppContext ( )
inlinevirtualnoexcept

Reimplemented from SWC::Comm::AppContext.

Definition at line 34 of file AppContext.h.

Member Function Documentation

◆ handle()

void SWC::client::FsBroker::AppContext::handle ( Comm::ConnHandlerPtr  ,
const Comm::Event::Ptr ev 
)
inlineoverridevirtual

Implements SWC::Comm::AppContext.

Definition at line 40 of file AppContext.h.

References SWC::LOG_WARN, SWC_LOG_OSTREAM, and SWC_LOG_OUT.

◆ handle_disconnect()

void SWC::client::FsBroker::AppContext::handle_disconnect ( Comm::ConnHandlerPtr  )
inlineoverridevirtualnoexcept

Implements SWC::Comm::AppContext.

Definition at line 38 of file AppContext.h.

◆ handle_established()

void SWC::client::FsBroker::AppContext::handle_established ( Comm::ConnHandlerPtr  )
inlineoverridevirtual

Implements SWC::Comm::AppContext.

Definition at line 36 of file AppContext.h.


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