27 #ifndef FsBroker_Lib_Request_Parameters_Append_h
28 #define FsBroker_Lib_Request_Parameters_Append_h
40 namespace Parameters {
60 Append(int32_t fd, uint32_t size, uint8_t flags)
61 : m_fd(fd), m_size(size), m_flags(flags) {}
77 uint8_t encoding_version()
const override;
79 size_t encoded_length_internal()
const override;
81 void encode_internal(uint8_t **bufp)
const override;
83 void decode_internal(uint8_t version,
const uint8_t **bufp,
84 size_t *remainp)
override;
100 #endif // FsBroker_Lib_Request_Parameters_Append_h
Request parameters for append requests.
Append(int32_t fd, uint32_t size, uint8_t flags)
Constructor.
uint32_t get_size()
Gets size of data buffer.
int32_t get_fd()
Gets file descriptor.
Declarations for Serializable.
Mixin class that provides a standard serialization interface.
uint8_t get_flags()
Gets flags.