|
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_db_protocol_rgr_req_RangeLocate_h
8 #define swcdb_db_protocol_rgr_req_RangeLocate_h
17 namespace SWC {
namespace Comm {
namespace Protocol {
18 namespace Rgr {
namespace Req {
21 template<
typename DataT>
25 typedef std::shared_ptr<RangeLocate>
Ptr;
28 template<
typename... DataArgsT>
32 const uint32_t timeout,
33 DataArgsT&&... args) {
39 req->data.get_clients()->get_rgr_queue(endpoints)->put(
req);
42 template<
typename... DataArgsT>
47 const uint32_t timeout,
48 DataArgsT&&... args) {
79 template<
typename... DataArgsT>
83 const uint32_t timeout,
123 #endif // swcdb_db_protocol_rgr_req_RangeLocate_h
SWC_CAN_INLINE Ptr req() noexcept
static SWC_CAN_INLINE void request(const Ptr &req, const EndPoints &endpoints)
RangeLocate(const RangeLocate &)=delete
Comm::client::ConnQueue::ReqBase ReqBase
static SWC_CAN_INLINE Ptr make(const Params::RangeLocateReq ¶ms, const uint32_t timeout, DataArgsT &&... args)
virtual ~RangeLocate() noexcept
The SWC-DB C++ namespace 'SWC'.
Common::Req::function< std::function< void(void *, const client::ConnQueue::ReqBase::Ptr &, const Params::RangeLocateRsp &)>> Functional_RangeLocate
static SWC_CAN_INLINE void request(const Params::RangeLocateReq ¶ms, const EndPoints &endpoints, const uint32_t timeout, DataArgsT &&... args)
std::shared_ptr< RangeLocate > Ptr
SWC_CAN_INLINE RangeLocate(const Params::RangeLocateReq ¶ms, const uint32_t timeout, DataArgsT &&... args)
std::shared_ptr< ConnHandler > ConnHandlerPtr
RangeLocate & operator=(const RangeLocate &)=delete
RangeLocate & operator=(RangeLocate &&)=delete
void handle(ConnHandlerPtr, const Event::Ptr &ev) override
std::shared_ptr< Event > Ptr
RangeLocate(RangeLocate &&)=delete
std::shared_ptr< ConnQueueReqBase > Ptr
void handle_no_conn() override