27 #ifndef FsBroker_Lib_Response_Parameters_Open_h
28 #define FsBroker_Lib_Response_Parameters_Open_h
40 namespace Parameters {
56 Open(int32_t fd) : m_fd(fd) {}
64 uint8_t encoding_version()
const override;
66 size_t encoded_length_internal()
const override;
68 void encode_internal(uint8_t **bufp)
const override;
70 void decode_internal(uint8_t version,
const uint8_t **bufp,
71 size_t *remainp)
override;
82 #endif // FsBroker_Lib_Response_Parameters_Open_h
int32_t get_fd()
Gets file descriptor.
int32_t m_fd
File descriptor.
Declarations for Serializable.
Mixin class that provides a standard serialization interface.
Response parameters for open requests.
Open(int32_t fd)
Constructor.