47 const uint8_t *ptr =
m_event->payload;
48 size_t remain =
m_event->payload_len;
50 params.
decode(&ptr, &remain);
56 cb.
error(e.
code(),
"Error handling GetStatistics message");
Declarations for RangeServer.
const vector< SystemVariable::Spec > & system_variables()
Gets system variables.
Compatibility Macros for C/C++.
virtual void decode(const uint8_t **bufp, size_t *remainp)
Reads serialized representation of object from a buffer.
Declarations for GetStatistics request parameters.
virtual void run()
Decodes request and calls RangeServer::get_statistics().
int64_t generation() const
Gets system variable generation.
virtual int error(int error, const String &msg)
Sends a standard error response back to the client.
Request parameters for get statistics function.
Comm * m_comm
Pointer to Comm object.
This is a generic exception class for Hypertable.
void get_statistics(Response::Callback::GetStatistics *cb, const std::vector< SystemVariable::Spec > &specs, uint64_t generation)
EventPtr m_event
MESSAGE Event from which handler was initialized.
Apps::RangeServer * m_range_server
Pointer to RangeServer object.
Declarations for ResponseCallback.
int code() const
Returns the error code.