48 const uint8_t *ptr =
m_event->payload;
49 size_t remain =
m_event->payload_len;
51 params.
decode(&ptr, &remain);
Apps::RangeServer * m_range_server
Pointer to RangeServer object.
Declarations for SetState request parameters.
Request parameters for set state function.
Declarations for RangeServer.
void set_state(ResponseCallback *cb, const std::vector< SystemVariable::Spec > &specs, int64_t generation)
Logging routines and macros.
Compatibility Macros for C/C++.
const vector< SystemVariable::Spec > & system_variables()
Gets system variables.
Functions to serialize/deserialize primitives to/from a memory buffer.
virtual void decode(const uint8_t **bufp, size_t *remainp)
Reads serialized representation of object from a buffer.
This class is used to generate and deliver standard responses back to a client.
virtual int error(int error, const String &msg)
Sends a standard error response back to the client.
This is a generic exception class for Hypertable.
virtual void run()
Decodes request and calls RangeServer::set_state().
EventPtr m_event
MESSAGE Event from which handler was initialized.
int64_t generation() const
Gets system variable generation.
Comm * m_comm
Pointer to Comm object.
Declarations for ResponseCallback.
Error codes, Exception handling, error logging.
int code() const
Returns the error code.