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::ColumnMng Struct Reference

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

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

Public Member Functions

SWC_CAN_INLINE ColumnMng (const ConnHandlerPtr &a_conn, const Event::Ptr &a_ev, const DB::Schema::Ptr &a_schema) noexcept
 ~ColumnMng () 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)

Public Attributes

ConnHandlerPtr conn
Event::Ptr ev
DB::Schema::Ptr schema

Detailed Description

Definition at line 19 of file ColumnMng.h.

Constructor & Destructor Documentation

◆ ColumnMng()

SWC_CAN_INLINE SWC::Comm::Protocol::Bkr::Handler::ColumnMng::ColumnMng ( const ConnHandlerPtr a_conn,
const Event::Ptr a_ev,
const DB::Schema::Ptr a_schema 

Definition at line 26 of file ColumnMng.h.

◆ ~ColumnMng()

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

Definition at line 31 of file ColumnMng.h.

Member Function Documentation

◆ callback()

SWC_CAN_INLINE void SWC::Comm::Protocol::Bkr::Handler::ColumnMng::callback ( const client::ConnQueue::ReqBase::Ptr ,
int  err 

Definition at line 44 of file ColumnMng.h.

References SWC::Error::CLIENT_STOPPING, conn, ev, SWC::Env::Clients::get(), SWC::Env::Bkr::is_accepting(), SWC::DB::SchemaPrimitives::NO_CID, SWC::Env::Bkr::processed(), 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::ColumnMng::get_clients ( )

Definition at line 34 of file ColumnMng.h.

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

+ Here is the call graph for this function:

◆ valid()

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

Definition at line 39 of file ColumnMng.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::ColumnMng::conn

Definition at line 21 of file ColumnMng.h.

Referenced by callback(), and valid().

◆ ev

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

Definition at line 22 of file ColumnMng.h.

Referenced by callback(), and valid().

◆ schema

DB::Schema::Ptr SWC::Comm::Protocol::Bkr::Handler::ColumnMng::schema

Definition at line 23 of file ColumnMng.h.

Referenced by callback().

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