27 #ifndef Hypertable_Lib_Master_Request_Parameters_Stop_h
28 #define Hypertable_Lib_Master_Request_Parameters_Stop_h
40 namespace Parameters {
57 Stop(
const std::string &server) : m_server(server) { }
61 const string&
server()
const {
return m_server; }
67 uint8_t encoding_version()
const override;
72 size_t encoded_length_internal()
const override;
76 void encode_internal(uint8_t **bufp)
const override;
84 void decode_internal(uint8_t version,
const uint8_t **bufp,
85 size_t *remainp)
override;
96 #endif // Hypertable_Lib_Master_Request_Parameters_Stop_h
std::string m_server
Name of RangeServer to be stopped.
Request parameters for stop function.
Stop(const std::string &server)
Constructor.
Declarations for Serializable.
Mixin class that provides a standard serialization interface.
const string & server() const
Gets name of RangeServer to be stopped.