43 const uint8_t *ptr =
m_event->payload;
44 size_t remain =
m_event->payload_len;
46 params.
decode(&ptr, &remain);
virtual void run()
Carries out the request.
Declarations for RangeServer.
void phantom_load(ResponseCallback *, const String &location, int32_t plan_generation, const vector< int32_t > &fragments, const vector< QualifiedRangeSpec > &specs, const vector< RangeState > &states)
Apps::RangeServer * m_range_server
Logging routines and macros.
Declarations for PhantomLoad request parameters.
Compatibility Macros for C/C++.
const vector< QualifiedRangeSpec > & range_specs() const
Gets range specifications.
Functions to serialize/deserialize primitives to/from a memory buffer.
const vector< RangeState > & range_states() const
Gets range states.
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.
int32_t plan_generation() const
Gets plan generation.
virtual int error(int error, const String &msg)
Sends a standard error response back to the client.
Request parameters for phantom load function.
const char * location() const
Gets location.
This is a generic exception class for Hypertable.
EventPtr m_event
MESSAGE Event from which handler was initialized.
const vector< int32_t > & fragments() const
Gets fragments.
Declarations for ResponseCallback.
Error codes, Exception handling, error logging.
int code() const
Returns the error code.