|
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_manager_Protocol_handlers_RgrUpdate_h
8 #define swcdb_manager_Protocol_handlers_RgrUpdate_h
13 namespace SWC {
namespace Comm {
namespace Protocol {
14 namespace Mngr {
namespace Handler {
29 :
conn(std::move(other.conn)),
ev(std::move(other.ev)) {
43 const uint8_t *ptr =
ev->data.base;
44 size_t remain =
ev->data.size;
47 params.
decode(&ptr, &remain);
64 #endif // swcdb_manager_Protocol_handlers_RgrUpdate_h
SWC_CAN_INLINE RgrUpdate(const Comm::ConnHandlerPtr &a_conn, const Comm::Event::Ptr &a_ev) noexcept
constexpr SWC_CAN_INLINE int code() const noexcept
Comm::ConnHandlerPtr conn
#define SWC_LOG_OUT(pr, _code_)
#define SWC_CURRENT_EXCEPTION(_msg_)
The SWC-DB C++ namespace 'SWC'.
SWC_CAN_INLINE RgrUpdate(RgrUpdate &&other) noexcept
std::shared_ptr< ConnHandler > ConnHandlerPtr
RgrUpdate & operator=(RgrUpdate &&)=delete
void decode(const uint8_t **bufp, size_t *remainp)
std::shared_ptr< Event > Ptr
void update_status(const RangerList &new_rgr_status, bool sync_all)
RgrUpdate & operator=(const RgrUpdate &)=delete
static SWC_CAN_INLINE Manager::Rangers * rangers() noexcept
Manager::RangerList hosts
RgrUpdate(const RgrUpdate &)=delete