|
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.
6 #ifndef swcdb_db_protocol_rgr_req_Report_h
7 #define swcdb_db_protocol_rgr_req_Report_h
13 namespace SWC {
namespace Comm {
namespace Protocol {
14 namespace Rgr {
namespace Req {
24 const uint32_t timeout);
30 const uint32_t timeout);
55 typedef std::shared_ptr<ReportRes>
Ptr;
60 const uint32_t timeout = 10000) {
68 const uint32_t timeout);
90 typedef std::shared_ptr<ReportCids>
Ptr;
96 const uint32_t timeout = 10000) {
104 const uint32_t timeout);
126 typedef std::shared_ptr<ReportColumnRids>
Ptr;
132 const uint32_t timeout = 10000) {
141 const uint32_t timeout);
163 typedef std::shared_ptr<ReportColumnsRanges>
Ptr;
169 const uint32_t timeout = 10000) {
179 const uint32_t timeout = 10000) {
188 const uint32_t timeout);
194 const uint32_t timeout);
214 #ifdef SWC_IMPL_SOURCE
218 #endif // swcdb_db_protocol_rgr_req_Report_h
void handle(ConnHandlerPtr conn, const Event::Ptr &ev) override
virtual ~ReportCids() noexcept
std::function< void(const client::ConnQueue::ReqBase::Ptr &, const int &, const Params::Report::RspRes &)> Cb_t
Report(const SWC::client::Clients::Ptr &clients, const EndPoints &endpoints, Params::Report::Function func, const uint32_t timeout)
ReportColumnRids(const SWC::client::Clients::Ptr &clients, const EndPoints &endpoints, cid_t cid, Cb_t &&cb, const uint32_t timeout)
void handle_no_conn() override
SWC::client::Clients::Ptr clients
static void request(const SWC::client::Clients::Ptr &clients, const EndPoints &endpoints, cid_t cid, Cb_t &&cb, const uint32_t timeout=10000)
virtual ~ReportColumnsRanges() noexcept
static SWC_CAN_INLINE void request(const SWC::client::Clients::Ptr &clients, const EndPoints &endpoints, Cb_t &&cb, const uint32_t timeout=10000)
static SWC_CAN_INLINE void request(const SWC::client::Clients::Ptr &clients, const EndPoints &endpoints, cid_t cid, Cb_t &&cb, const uint32_t timeout=10000)
The SWC-DB C++ namespace 'SWC'.
std::shared_ptr< ReportColumnRids > Ptr
std::shared_ptr< ReportRes > Ptr
void handle_no_conn() override
ReportColumnsRanges(const SWC::client::Clients::Ptr &clients, const EndPoints &endpoints, Cb_t &&cb, const uint32_t timeout)
Report & operator=(const Report &)=delete
virtual ~ReportRes() noexcept
virtual ~ReportColumnRids() noexcept
void handle_no_conn() override
void handle(ConnHandlerPtr conn, const Event::Ptr &ev) override
void handle(ConnHandlerPtr conn, const Event::Ptr &ev) override
ReportCids(const SWC::client::Clients::Ptr &clients, const EndPoints &endpoints, Cb_t &&cb, const uint32_t timeout)
void handle_no_conn() override
std::shared_ptr< ConnHandler > ConnHandlerPtr
std::function< void(const client::ConnQueue::ReqBase::Ptr &, const int &, const Params::Report::RspCids &)> Cb_t
std::function< void(const client::ConnQueue::ReqBase::Ptr &, const int &, const Params::Report::RspColumnsRanges &)> Cb_t
static void request(const SWC::client::Clients::Ptr &clients, const EndPoints &endpoints, Cb_t &&cb, const uint32_t timeout=10000)
Report(const Report &)=delete
std::shared_ptr< Event > Ptr
Report & operator=(Report &&)=delete
std::shared_ptr< ReportColumnsRanges > Ptr
std::shared_ptr< ConnQueueReqBase > Ptr
std::shared_ptr< ReportCids > Ptr
std::function< void(const client::ConnQueue::ReqBase::Ptr &, const int &, const Params::Report::RspColumnRids &)> Cb_t
static SWC_CAN_INLINE void request(const SWC::client::Clients::Ptr &clients, const EndPoints &endpoints, Cb_t &&cb, const uint32_t timeout=10000)
void handle(ConnHandlerPtr conn, const Event::Ptr &ev) override
virtual ~Report() noexcept
ReportRes(const SWC::client::Clients::Ptr &clients, const EndPoints &endpoints, Cb_t &&cb, const uint32_t timeout)