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::Comm::server::Acceptor::Plain Struct Reference
+ Collaboration diagram for SWC::Comm::server::Acceptor::Plain:

Public Member Functions

SWC_CAN_INLINE Plain (Acceptor *a_acceptor) noexcept
 
void operator() (const std::error_code &ec, asio::ip::tcp::socket new_sock)
 

Public Attributes

Acceptoracceptor
 

Detailed Description

Definition at line 76 of file SerializedServer.cc.

Constructor & Destructor Documentation

◆ Plain()

SWC_CAN_INLINE SWC::Comm::server::Acceptor::Plain::Plain ( Acceptor a_acceptor)
inlinenoexcept

Definition at line 79 of file SerializedServer.cc.

Referenced by operator()().

+ Here is the caller graph for this function:

Member Function Documentation

◆ operator()()

void SWC::Comm::server::Acceptor::Plain::operator() ( const std::error_code &  ec,
asio::ip::tcp::socket  new_sock 
)
inline

Definition at line 80 of file SerializedServer.cc.

References acceptor, SWC::LOG_WARN, SWC::Comm::server::Acceptor::m_app_ctx, SWC::Comm::ConnHandlerPlain::make(), Plain(), SWC_LOG_CURRENT_EXCEPTION, and SWC_LOGF.

+ Here is the call graph for this function:

Member Data Documentation

◆ acceptor

Acceptor* SWC::Comm::server::Acceptor::Plain::acceptor

Definition at line 77 of file SerializedServer.cc.

Referenced by operator()().


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