Request parameters for shutdown requests. More...
#include <Shutdown.h>


Public Member Functions | |
| Shutdown () | |
| Constructor. More... | |
| Shutdown (uint16_t flags) | |
| Constructor. More... | |
| uint16_t | get_flags () |
| Gets flags. More... | |
Public Member Functions inherited from Hypertable::Serializable | |
| virtual size_t | encoded_length () const |
| Returns serialized object length. More... | |
| virtual void | encode (uint8_t **bufp) const |
| Writes serialized representation of object to a buffer. More... | |
| virtual void | decode (const uint8_t **bufp, size_t *remainp) |
| Reads serialized representation of object from a buffer. More... | |
Private Member Functions | |
| uint8_t | encoding_version () const override |
| Returns encoding version. More... | |
| size_t | encoded_length_internal () const override |
| Returns internal serialized length. More... | |
| void | encode_internal (uint8_t **bufp) const override |
| Writes serialized representation of object to a buffer. More... | |
| void | decode_internal (uint8_t version, const uint8_t **bufp, size_t *remainp) override |
| Reads serialized representation of object from a buffer. More... | |
Private Attributes | |
| uint16_t | m_flags {} |
| Flags. More... | |
Additional Inherited Members |
Request parameters for shutdown requests.
Definition at line 46 of file Shutdown.h.
|
inline |
|
inline |
Constructor.
Initializes with parameters for encoding. Sets m_flags to flags.
| flags | Flags |
Definition at line 57 of file Shutdown.h.
|
overrideprivatevirtual |
Reads serialized representation of object from a buffer.
This function is to be overridden by derived classes and should decode the object per-se as encoded with encode_internal().
| version | Encoding version |
| bufp | Address of destination buffer pointer (advanced by call) |
| remainp | Address of integer holding amount of serialized encoding remaining |
Implements Hypertable::Serializable.
Definition at line 49 of file Shutdown.cc.
|
overrideprivatevirtual |
Writes serialized representation of object to a buffer.
This function is to be overridden by derived classes and should encode the object per-se.
| bufp | Address of destination buffer pointer (advanced by call) |
Implements Hypertable::Serializable.
Definition at line 45 of file Shutdown.cc.
|
overrideprivatevirtual |
Returns internal serialized length.
This function is to be overridden by derived classes and should return the length of the the serialized object per-se.
Implements Hypertable::Serializable.
Definition at line 41 of file Shutdown.cc.
|
overrideprivatevirtual |
Returns encoding version.
Implements Hypertable::Serializable.
Definition at line 37 of file Shutdown.cc.
|
inline |
|
private |
Flags.
Definition at line 75 of file Shutdown.h.
1.8.8