|
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_fs_Broker_Protocol_req_Length_h
7 #define swcdb_fs_Broker_Protocol_req_Length_h
13 namespace SWC {
namespace Comm {
namespace Protocol {
14 namespace FsBroker {
namespace Req {
19 typedef std::shared_ptr<Length>
Ptr;
23 uint32_t timeout,
const std::string& a_name,
26 stats, FS::Statistics::LENGTH_ASYNC,
28 Params::LengthReq(a_name),
33 name(a_name),
cb(std::move(a_cb)) {
54 #endif // swcdb_fs_Broker_Protocol_req_Length_h
std::function< void(int, size_t)> LengthCb_t
SWC_CAN_INLINE Length(FS::Statistics &stats, uint32_t timeout, const std::string &a_name, FS::Callback::LengthCb_t &&a_cb)
void handle_length(const Event::Ptr &ev, const std::string &name, size_t &length)
The SWC-DB C++ namespace 'SWC'.
void length(const ConnHandlerPtr &conn, const Event::Ptr &ev)
std::shared_ptr< ConnHandler > ConnHandlerPtr
void handle(ConnHandlerPtr, const Event::Ptr &ev) override
const FS::Callback::LengthCb_t cb
std::shared_ptr< Length > Ptr
std::shared_ptr< Event > Ptr