43 const uint8_t *ptr =
m_event->payload;
44 size_t remain =
m_event->payload_len;
46 params.
decode(&ptr, &remain);
51 cb.
error(e.
code(),
"Error handling AcknowledgeLoad message");
virtual void run()
Carries out the request.
Declarations for RangeServer.
Apps::RangeServer * m_range_server
Logging routines and macros.
void acknowledge_load(Response::Callback::AcknowledgeLoad *cb, const vector< QualifiedRangeSpec > &specs)
Compatibility Macros for C/C++.
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.
virtual int error(int error, const String &msg)
Sends a standard error response back to the client.
const vector< QualifiedRangeSpec > & specs()
Gets qualified range specifications.
Declarations for AcknowledgeLoad request parameters.
This is a generic exception class for Hypertable.
EventPtr m_event
MESSAGE Event from which handler was initialized.
Error codes, Exception handling, error logging.
Request parameters for acknowledge load function.
int code() const
Returns the error code.