#include <swcdb/db/Protocol/Mngr/params/RgrMngId.h>
Public Types | |
enum | Flag : uint8_t { MNGR_ASSIGNED = 1, MNGR_NOT_ACTIVE = 2, MNGR_REASSIGN = 3, MNGR_REREQ = 4, MNGR_ACK = 5, RGR_REQ = 6, RGR_ACK = 7, RGR_DISAGREE = 8, RGR_SHUTTINGDOWN = 9 } |
Public Member Functions | |
SWC_CAN_INLINE | RgrMngId () noexcept |
SWC_CAN_INLINE | RgrMngId (rgrid_t a_rgrid, Flag a_flag, const EndPoints &a_endpoints) |
SWC_CAN_INLINE | ~RgrMngId () noexcept |
void | print (std::ostream &out) const |
Public Member Functions inherited from SWC::Comm::Serializable | |
size_t | encoded_length () const |
void | encode (uint8_t **bufp) const |
void | decode (const uint8_t **bufp, size_t *remainp) |
Public Attributes | |
EndPoints | endpoints |
rgrid_t | rgrid |
Flag | flag |
FS::Type | fs |
Private Member Functions | |
size_t | internal_encoded_length () const override |
void | internal_encode (uint8_t **bufp) const override |
void | internal_decode (const uint8_t **bufp, size_t *remainp) override |
Additional Inherited Members | |
Protected Member Functions inherited from SWC::Comm::Serializable | |
virtual | ~Serializable () noexcept |
Definition at line 17 of file RgrMngId.h.
enum SWC::Comm::Protocol::Mngr::Params::RgrMngId::Flag : uint8_t |
Enumerator | |
---|---|
MNGR_ASSIGNED | |
MNGR_NOT_ACTIVE | |
MNGR_REASSIGN | |
MNGR_REREQ | |
MNGR_ACK | |
RGR_REQ | |
RGR_ACK | |
RGR_DISAGREE | |
RGR_SHUTTINGDOWN |
Definition at line 20 of file RgrMngId.h.
|
inlinenoexcept |
Definition at line 33 of file RgrMngId.h.
|
inline |
Definition at line 39 of file RgrMngId.h.
|
inlinenoexcept |
Definition at line 46 of file RgrMngId.h.
|
inlineoverrideprivatevirtual |
Implements SWC::Comm::Serializable.
Definition at line 89 of file RgrMngId.h.
References SWC::Serialization::decode(), SWC::Serialization::decode_i8(), SWC::Serialization::decode_vi64(), endpoints, flag, fs, SWC::Error::MNGR_NOT_ACTIVE, and rgrid.
|
inlineoverrideprivatevirtual |
Implements SWC::Comm::Serializable.
Definition at line 77 of file RgrMngId.h.
References SWC::Serialization::encode(), SWC::Serialization::encode_i8(), SWC::Serialization::encode_vi64(), endpoints, flag, fs, SWC::Error::MNGR_NOT_ACTIVE, and rgrid.
|
inlineoverrideprivatevirtual |
Implements SWC::Comm::Serializable.
Definition at line 64 of file RgrMngId.h.
References SWC::Serialization::encoded_length(), SWC::Serialization::encoded_length_vi64(), endpoints, flag, SWC::Error::MNGR_NOT_ACTIVE, and rgrid.
|
inline |
Definition at line 48 of file RgrMngId.h.
References endpoints, flag, fs, SWC::Comm::print(), rgrid, and SWC::FS::to_string().
Referenced by SWC::Comm::Protocol::Mngr::Handler::RgrMngId::operator()().
EndPoints SWC::Comm::Protocol::Mngr::Params::RgrMngId::endpoints |
Definition at line 57 of file RgrMngId.h.
Referenced by internal_decode(), internal_encode(), internal_encoded_length(), SWC::Comm::Protocol::Mngr::Handler::RgrMngId::operator()(), and print().
Flag SWC::Comm::Protocol::Mngr::Params::RgrMngId::flag |
Definition at line 59 of file RgrMngId.h.
Referenced by SWC::Comm::Protocol::Mngr::Req::RgrMngId::handle(), internal_decode(), internal_encode(), internal_encoded_length(), SWC::Comm::Protocol::Mngr::Handler::RgrMngId::operator()(), and print().
FS::Type SWC::Comm::Protocol::Mngr::Params::RgrMngId::fs |
Definition at line 60 of file RgrMngId.h.
Referenced by SWC::Comm::Protocol::Mngr::Req::RgrMngId::handle(), internal_decode(), internal_encode(), SWC::Comm::Protocol::Mngr::Handler::RgrMngId::operator()(), and print().
rgrid_t SWC::Comm::Protocol::Mngr::Params::RgrMngId::rgrid |
Definition at line 58 of file RgrMngId.h.
Referenced by SWC::Comm::Protocol::Mngr::Req::RgrMngId::handle(), internal_decode(), internal_encode(), internal_encoded_length(), SWC::Comm::Protocol::Mngr::Handler::RgrMngId::operator()(), and print().