45 const uint8_t *ptr =
m_event->payload;
46 size_t remain =
m_event->payload_len;
47 params.
decode(&ptr, &remain);
52 cb.
error(e.
code(),
"Error handling FetchScanblock message");
Declarations for RangeServer.
Request parameters for fetch scanblock function.
Logging routines and macros.
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.
Apps::RangeServer * m_range_server
virtual void run()
Carries out the request.
This is a generic exception class for Hypertable.
EventPtr m_event
MESSAGE Event from which handler was initialized.
int32_t scanner_id()
Gets scanner ID.
Declarations for ResponseCallback.
Error codes, Exception handling, error logging.
Declarations for FetchScanblock request parameters.
void fetch_scanblock(Response::Callback::CreateScanner *, int32_t scanner_id)
int code() const
Returns the error code.