45 const uint8_t *ptr =
m_event->payload;
46 size_t remain =
m_event->payload_len;
50 params.
decode(&ptr, &remain);
55 cb.
error(e.
code(),
"Error handling RMDIR message");
Comm * m_comm
Pointer to comm layer.
Request parameters for rmdir requests.
const char * get_dirname()
Gets directory name.
Broker * m_broker
Pointer to file system broker object.
Declarations for Rmdir request parameters.
virtual void run()
Invokes the rmdir function.
Logging routines and macros.
Compatibility Macros for C/C++.
virtual void rmdir(ResponseCallback *cb, const char *dname)=0
Remove a directory.
Functions to serialize/deserialize primitives to/from a memory buffer.
Declarations for Rmdir request handler.
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.
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.
EventPtr m_event
MESSAGE Event from which handler was initialized.
File system broker framework and client library.
Declarations for ResponseCallback.
Error codes, Exception handling, error logging.
int code() const
Returns the error code.