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::Protocol::Bkr::Handler::ColumnGet Struct Reference

#include <swcdb/broker/Protocol/handlers/ColumnGet.h>

+ Collaboration diagram for SWC::Comm::Protocol::Bkr::Handler::ColumnGet:

Public Member Functions

SWC_CAN_INLINE ColumnGet (const ConnHandlerPtr &a_conn, const Event::Ptr &a_ev, Mngr::Params::ColumnGetReq::Flag a_flag)
 ~ColumnGet () noexcept
SWC_CAN_INLINE SWC::client::Clients::Ptrget_clients () noexcept
SWC_CAN_INLINE bool valid ()
SWC_CAN_INLINE void callback (const client::ConnQueue::ReqBase::Ptr &, int err, const Mngr::Params::ColumnGetRsp &rsp)

Public Attributes

ConnHandlerPtr conn
Event::Ptr ev
Mngr::Params::ColumnGetReq::Flag flag

Detailed Description

Definition at line 18 of file ColumnGet.h.

Constructor & Destructor Documentation

◆ ColumnGet()

SWC_CAN_INLINE SWC::Comm::Protocol::Bkr::Handler::ColumnGet::ColumnGet ( const ConnHandlerPtr a_conn,
const Event::Ptr a_ev,
Mngr::Params::ColumnGetReq::Flag  a_flag 

Definition at line 25 of file ColumnGet.h.

◆ ~ColumnGet()

SWC::Comm::Protocol::Bkr::Handler::ColumnGet::~ColumnGet ( )

Definition at line 31 of file ColumnGet.h.

Member Function Documentation

◆ callback()

SWC_CAN_INLINE void SWC::Comm::Protocol::Bkr::Handler::ColumnGet::callback ( const client::ConnQueue::ReqBase::Ptr ,
int  err,
const Mngr::Params::ColumnGetRsp rsp 

Definition at line 44 of file ColumnGet.h.

References SWC::Error::CLIENT_STOPPING, conn, ev, flag, SWC::Env::Clients::get(), SWC::Env::Bkr::is_accepting(), SWC::Comm::Buffers::make(), SWC::Env::Bkr::processed(), SWC::Comm::Protocol::Mngr::Params::ColumnGetRsp::schema, and SWC::Error::SERVER_SHUTTING_DOWN.

+ Here is the call graph for this function:

◆ get_clients()

SWC_CAN_INLINE SWC::client::Clients::Ptr& SWC::Comm::Protocol::Bkr::Handler::ColumnGet::get_clients ( )

Definition at line 34 of file ColumnGet.h.

References SWC::Env::Clients::get().

+ Here is the call graph for this function:

◆ valid()

SWC_CAN_INLINE bool SWC::Comm::Protocol::Bkr::Handler::ColumnGet::valid ( )

Definition at line 39 of file ColumnGet.h.

References conn, ev, and SWC::Env::Bkr::is_accepting().

+ Here is the call graph for this function:

Member Data Documentation

◆ conn

ConnHandlerPtr SWC::Comm::Protocol::Bkr::Handler::ColumnGet::conn

Definition at line 20 of file ColumnGet.h.

Referenced by callback(), and valid().

◆ ev

Event::Ptr SWC::Comm::Protocol::Bkr::Handler::ColumnGet::ev

Definition at line 21 of file ColumnGet.h.

Referenced by callback(), and valid().

◆ flag

Mngr::Params::ColumnGetReq::Flag SWC::Comm::Protocol::Bkr::Handler::ColumnGet::flag

Definition at line 22 of file ColumnGet.h.

Referenced by callback().

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