45 const uint8_t *ptr =
m_event->payload;
46 size_t remain =
m_event->payload_len;
51 params.
decode(&ptr, &remain);
52 serialized_params.
base = (uint8_t *)ptr;
53 serialized_params.
size = remain;
54 serialized_params.
own =
false;
59 cb.
error(e.
code(),
"Error handling DEBUG message");
A memory buffer of static size.
Request parameters for debug requests.
virtual void debug(ResponseCallback *cb, int32_t command, StaticBuffer &serialized_parameters)=0
Debug command.
Broker * m_broker
Pointer to file system broker object.
virtual void run()
Invokes the debug function.
Logging routines and macros.
Comm * m_comm
Pointer to comm layer.
Compatibility Macros for C/C++.
Functions to serialize/deserialize primitives to/from a memory buffer.
A memory buffer of static size.
virtual void decode(const uint8_t **bufp, size_t *remainp)
Reads serialized representation of object from a buffer.
int32_t get_command()
Gets command code.
This class is used to generate and deliver standard responses back to a client.
virtual int error(int error, const String &msg)
Sends a standard error response back to the client.
Declarations for Debug request handler.
This is a generic exception class for Hypertable.
EventPtr m_event
MESSAGE Event from which handler was initialized.
File system broker framework and client library.
Declarations for Debug request parameters.
Error codes, Exception handling, error logging.
int code() const
Returns the error code.