#include <swcdb/core/comm/AppContext.h>
Public Types | |
typedef std::shared_ptr< AppContext > | Ptr |
Public Member Functions | |
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 | handle_established (ConnHandlerPtr conn)=0 |
virtual void | handle_disconnect (ConnHandlerPtr conn) noexcept=0 |
virtual void | handle (ConnHandlerPtr conn, const Event::Ptr &ev)=0 |
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 |
Public Attributes | |
const Config::Property::Value_enum_g::Ptr | cfg_encoder |
Protected Member Functions | |
virtual | ~AppContext () noexcept |
Definition at line 21 of file AppContext.h.
typedef std::shared_ptr<AppContext> SWC::Comm::AppContext::Ptr |
Definition at line 23 of file AppContext.h.
|
inlinenoexcept |
Definition at line 28 of file AppContext.h.
|
delete |
|
delete |
|
inlineprotectedvirtualnoexcept |
Reimplemented in SWC::Ranger::AppContext, SWC::Manager::AppContext, SWC::FsBroker::AppContext, SWC::client::FsBroker::AppContext, and SWC::Broker::AppContext.
Definition at line 55 of file AppContext.h.
|
pure virtual |
Implemented in SWC::client::FsBroker::AppContext, SWC::Ranger::AppContext, SWC::Manager::AppContext, SWC::FsBroker::AppContext, SWC::client::ContextRanger, SWC::client::ContextManager, SWC::client::ContextBroker, and SWC::Broker::AppContext.
Definition at line 14 of file AppContext.cc.
References SWC::LOG_WARN, SWC_LOG_OSTREAM, and SWC_LOG_OUT.
|
pure virtualnoexcept |
|
pure virtual |
|
inlinevirtual |
Reimplemented in SWC::Ranger::AppContext, SWC::Manager::AppContext, SWC::FsBroker::AppContext, and SWC::Broker::AppContext.
Definition at line 37 of file AppContext.h.
|
inlinevirtualnoexcept |
Reimplemented in SWC::Ranger::AppContext, SWC::Manager::AppContext, SWC::FsBroker::AppContext, and SWC::Broker::AppContext.
Definition at line 51 of file AppContext.h.
|
inlinevirtualnoexcept |
Reimplemented in SWC::Ranger::AppContext, SWC::Manager::AppContext, SWC::FsBroker::AppContext, and SWC::Broker::AppContext.
Definition at line 49 of file AppContext.h.
|
inlinevirtualnoexcept |
Reimplemented in SWC::Ranger::AppContext, SWC::Manager::AppContext, SWC::FsBroker::AppContext, and SWC::Broker::AppContext.
Definition at line 47 of file AppContext.h.
|
delete |
|
delete |
|
virtual |
Reimplemented in SWC::Ranger::AppContext, SWC::Manager::AppContext, SWC::FsBroker::AppContext, and SWC::Broker::AppContext.
Definition at line 20 of file AppContext.cc.
References SWC::LOG_WARN, and SWC_LOG.
const Config::Property::Value_enum_g::Ptr SWC::Comm::AppContext::cfg_encoder |
Definition at line 25 of file AppContext.h.