45 const uint8_t *ptr =
m_event->payload;
46 size_t remain =
m_event->payload_len;
48 params.
decode(&ptr, &remain);
Declarations for PhantomUpdate request parameters.
const char * location() const
Gets location.
virtual void run()
Carries out the request.
Declarations for RangeServer.
int32_t fragment() const
Gets fragment ID.
Logging routines and macros.
Compatibility Macros for C/C++.
Functions to serialize/deserialize primitives to/from a memory buffer.
int32_t plan_generation() const
Gets plan generation.
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.
This is a generic exception class for Hypertable.
void phantom_update(Response::Callback::PhantomUpdate *, const String &location, int32_t plan_generation, const QualifiedRangeSpec &range, int32_t fragment, EventPtr &event)
EventPtr m_event
MESSAGE Event from which handler was initialized.
void initialize(const QualifiedRangeSpec &range, uint32_t fragment)
Request parameters for phantom update function.
const QualifiedRangeSpec & range_spec() const
Gets range specification.
Apps::RangeServer * m_range_server
Declarations for ResponseCallback.
Error codes, Exception handling, error logging.
int code() const
Returns the error code.