27 #ifndef FsBroker_Lib_Request_Parameters_Open_h
28 #define FsBroker_Lib_Request_Parameters_Open_h
40 namespace Parameters {
60 Open(
const std::string &fname, uint32_t flags, int32_t bufsz)
61 : m_fname(fname), m_flags(flags), m_bufsz(bufsz) {}
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;
101 #endif // FsBroker_Lib_Request_Parameters_Open_h
Open(const std::string &fname, uint32_t flags, int32_t bufsz)
Constructor.
Request parameters for open requests.
std::string m_fname
File name.
int32_t m_bufsz
Buffer size.
int32_t get_buffer_size()
Gets buffer size.
Declarations for Serializable.
Mixin class that provides a standard serialization interface.
uint32_t m_flags
Open flags.
uint32_t get_flags()
Gets open flags.
const char * get_fname()
Gets file name.