46 const uint8_t *ptr =
m_event->payload;
47 size_t remain =
m_event->payload_len;
51 params.
decode(&ptr, &remain);
56 cb.
error(e.
code(),
"Error handling READDIR message");
virtual void run()
Invokes the readdir function.
virtual void readdir(Response::Callback::Readdir *cb, const char *dname)=0
Read a directory's contents.
Broker * m_broker
Pointer to file system broker object.
Logging routines and macros.
Compatibility Macros for C/C++.
Functions to serialize/deserialize primitives to/from a memory buffer.
const char * get_dirname()
Gets directory name.
virtual void decode(const uint8_t **bufp, size_t *remainp)
Reads serialized representation of object from a buffer.
Application handler for readdir function.
virtual int error(int error, const String &msg)
Sends a standard error response back to the client.
Declarations for Readdir response callback.
Comm * m_comm
Pointer to comm layer.
This is a generic exception class for Hypertable.
Declarations for Readdir request parameters.
EventPtr m_event
MESSAGE Event from which handler was initialized.
Declarations for Readdir request handler.
File system broker framework and client library.
Declarations for ResponseCallback.
Error codes, Exception handling, error logging.
Request parameters for readdir requests.
int code() const
Returns the error code.