39 using namespace FsBroker::Lib::Response;
47 params.
encode(cbuf->get_data_ptr_address());
virtual size_t encoded_length() const
Returns serialized object length.
Comm * m_comm
Comm pointer.
virtual void encode(uint8_t **bufp) const
Writes serialized representation of object to a buffer.
std::shared_ptr< CommBuf > CommBufPtr
Smart pointer to CommBuf.
Response parameters for readdir requests.
Compatibility Macros for C/C++.
Functions to serialize/deserialize primitives to/from a memory buffer.
int send_response(const CommAddress &addr, CommBufPtr &cbuf)
Sends a response message back over a connection.
int response(std::vector< Filesystem::Dirent > &listing)
Sends response parameters back to client.
Declarations for CommBuf.
Declarations for Readdir response callback.
Message buffer for holding data to be transmitted over a network.
EventPtr m_event
Smart pointer to event object.
Error codes, Exception handling, error logging.
Declarations for Readdir response parameters.