![SWC-DB logo](logo.svg) |
SWC-DB
v0.5.12 C++ documentations
SWC-DB© (Super Wide Column Database) - High Performance Scalable Database (https://github.com/kashirin-alex/swc-db)
|
Go to the documentation of this file.
7 #ifndef swcdb_broker_Protocol_handlers_ColumnList_h
8 #define swcdb_broker_Protocol_handlers_ColumnList_h
14 namespace SWC {
namespace Comm {
namespace Protocol {
15 namespace Bkr {
namespace Handler {
45 if(!
ev->expired() &&
conn->is_open()) {
63 conn->send_response(cbp);
76 const uint8_t *ptr = ev->data.base;
77 size_t remain = ev->data.size;
80 params.
decode(&ptr, &remain);
83 params, ev->header.timeout_ms, conn, ev);
90 cbp->append_i32(e.
code());
91 conn->send_response(cbp);
100 #endif // swcdb_broker_Protocol_handlers_ColumnList_h
SWC_CAN_INLINE SWC::client::Clients::Ptr & get_clients() noexcept
constexpr SWC_CAN_INLINE bool compare_exchange_weak(T &at, T value) noexcept
Core::StateRunning processed
constexpr SWC_CAN_INLINE int code() const noexcept
static SWC_CAN_INLINE client::Clients::Ptr & get() noexcept
std::shared_ptr< Buffers > Ptr
#define SWC_LOG_OUT(pr, _code_)
Core::Atomic< size_t > remain
SWC_CAN_INLINE ColumnList(const ConnHandlerPtr &a_conn, const Event::Ptr &a_ev) noexcept
void column_list(const ConnHandlerPtr &conn, const Event::Ptr &ev)
static SWC_CAN_INLINE bool is_accepting() noexcept
constexpr SWC_CAN_INLINE T sub_rslt(T v) noexcept
SWC_CAN_INLINE bool valid()
static SWC_CAN_INLINE void request(const Params::ColumnListReq ¶ms, const uint32_t timeout, DataArgsT &&... args)
#define SWC_CURRENT_EXCEPTION(_msg_)
The SWC-DB C++ namespace 'SWC'.
SWC_CAN_INLINE void callback(const client::ConnQueue::ReqBase::Ptr &, int err, const Mngr::Params::ColumnListRsp &rsp)
constexpr SWC_CAN_INLINE bool running() noexcept
std::shared_ptr< ConnHandler > ConnHandlerPtr
static SWC_CAN_INLINE Ptr make(uint32_t reserve=0)
void decode(const uint8_t **bufp, size_t *remainp)
std::shared_ptr< Event > Ptr
std::shared_ptr< ConnQueueReqBase > Ptr
static SWC_CAN_INLINE void processed() noexcept
constexpr SWC_CAN_INLINE size_type size() const noexcept