#include <swcdb/db/Protocol/Rgr/req/RangeQueryUpdate.h>
Public Types | |
typedef std::shared_ptr< RangeQueryUpdate > | Ptr |
Public Types inherited from SWC::Comm::client::ConnQueueReqBase | |
typedef std::shared_ptr< ConnQueueReqBase > | Ptr |
Public Types inherited from SWC::Comm::DispatchHandler | |
typedef std::shared_ptr< DispatchHandler > | Ptr |
Public Member Functions | |
RangeQueryUpdate (RangeQueryUpdate &&)=delete | |
RangeQueryUpdate (const RangeQueryUpdate &)=delete | |
RangeQueryUpdate & | operator= (RangeQueryUpdate &&)=delete |
RangeQueryUpdate & | operator= (const RangeQueryUpdate &)=delete |
virtual | ~RangeQueryUpdate () noexcept |
bool | valid () override |
void | handle_no_conn () override |
void | handle (ConnHandlerPtr, const Event::Ptr &ev) override |
Public Member Functions inherited from SWC::Comm::client::ConnQueueReqBase | |
SWC_CAN_INLINE | ConnQueueReqBase (Buffers::Ptr &&a_cbp) noexcept |
SWC_CAN_INLINE | ConnQueueReqBase (Buffers::Ptr &&a_cbp, const ConnQueuePtr &a_queue) noexcept |
SWC_CAN_INLINE Ptr | req () noexcept |
virtual bool | insistent () noexcept |
void | request_again () |
void | print (std::ostream &out) |
Public Member Functions inherited from SWC::Comm::DispatchHandler | |
virtual bool | run () |
Static Public Member Functions | |
template<typename... DataArgsT> | |
static SWC_CAN_INLINE Ptr | make (const Params::RangeQueryUpdateReq ¶ms, StaticBuffer &snd_buf, const uint32_t timeout, DataArgsT &&... args) |
template<typename... DataArgsT> | |
static SWC_CAN_INLINE Ptr | make (const Params::RangeQueryUpdateReq ¶ms, const DynamicBuffer &buffer, const uint32_t timeout, DataArgsT &&... args) |
static SWC_CAN_INLINE void | request (const Ptr &req, const EndPoints &endpoints) |
template<typename... DataArgsT> | |
static SWC_CAN_INLINE void | request (const Params::RangeQueryUpdateReq ¶ms, StaticBuffer &snd_buf, const uint32_t timeout, const EndPoints &endpoints, DataArgsT &&... args) |
template<typename... DataArgsT> | |
static SWC_CAN_INLINE void | request (const Params::RangeQueryUpdateReq ¶ms, const DynamicBuffer &buffer, const uint32_t timeout, const EndPoints &endpoints, DataArgsT &&... args) |
Public Attributes | |
DataT | data |
Public Attributes inherited from SWC::Comm::client::ConnQueueReqBase | |
Buffers::Ptr | cbp |
ConnQueuePtr | queue |
Protected Member Functions | |
template<typename... DataArgsT> | |
SWC_CAN_INLINE | RangeQueryUpdate (Buffers::Ptr &&a_cbp, DataArgsT &&... args) |
Protected Member Functions inherited from SWC::Comm::client::ConnQueueReqBase | |
virtual | ~ConnQueueReqBase () noexcept |
Protected Member Functions inherited from SWC::Comm::DispatchHandler | |
virtual | ~DispatchHandler () noexcept |
Definition at line 21 of file RangeQueryUpdate.h.
typedef std::shared_ptr<RangeQueryUpdate> SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::Ptr |
Definition at line 24 of file RangeQueryUpdate.h.
|
delete |
Referenced by SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::make().
|
delete |
|
inlinevirtualnoexcept |
Definition at line 83 of file RangeQueryUpdate.h.
|
inlineprotected |
Definition at line 107 of file RangeQueryUpdate.h.
|
inlineoverridevirtual |
Implements SWC::Comm::DispatchHandler.
Definition at line 96 of file RangeQueryUpdate.h.
References SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::data, and SWC::Comm::client::ConnQueueReqBase::req().
|
inlineoverridevirtual |
Implements SWC::Comm::DispatchHandler.
Definition at line 89 of file RangeQueryUpdate.h.
References SWC::Error::COMM_NOT_CONNECTED, SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::data, and SWC::Comm::client::ConnQueueReqBase::req().
|
inlinestatic |
Definition at line 42 of file RangeQueryUpdate.h.
References SWC::Core::Buffer< T >::base, SWC::Core::BufferDyn< BufferT >::fill(), and SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::make().
|
inlinestatic |
Definition at line 29 of file RangeQueryUpdate.h.
References SWC::Comm::Buffers::make(), SWC::Comm::Protocol::Rgr::RANGE_QUERY_UPDATE, and SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::RangeQueryUpdate().
Referenced by SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::make(), and SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::request().
|
delete |
|
delete |
|
inlinestatic |
Definition at line 69 of file RangeQueryUpdate.h.
References SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::make(), and SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::request().
|
inlinestatic |
Definition at line 58 of file RangeQueryUpdate.h.
References SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::make(), and SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::request().
|
inlinestatic |
Definition at line 52 of file RangeQueryUpdate.h.
References SWC::Comm::client::ConnQueueReqBase::req().
Referenced by SWC::client::Query::Update::Committer::commit_data(), and SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::request().
|
inlineoverridevirtual |
Reimplemented from SWC::Comm::DispatchHandler.
Definition at line 85 of file RangeQueryUpdate.h.
References SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::data.
DataT SWC::Comm::Protocol::Rgr::Req::RangeQueryUpdate< DataT >::data |