27 #ifndef FsBroker_Lib_Request_Parameters_Sync_h
28 #define FsBroker_Lib_Request_Parameters_Sync_h
40 namespace Parameters {
57 Sync(int32_t fd) : m_fd(fd) {}
65 uint8_t encoding_version()
const override;
67 size_t encoded_length_internal()
const override;
69 void encode_internal(uint8_t **bufp)
const override;
71 void decode_internal(uint8_t version,
const uint8_t **bufp,
72 size_t *remainp)
override;
83 #endif // FsBroker_Lib_Request_Parameters_Sync_h
Request parameters for sync requests.
Declarations for Serializable.
Mixin class that provides a standard serialization interface.
Sync(int32_t fd)
Constructor.
int32_t get_fd()
Gets file descriptor.