38 using namespace FsBroker::Lib::Response;
46 params.
encode(cbuf->get_data_ptr_address());
A memory buffer of static size.
Response parameters for read requests.
virtual size_t encoded_length() const
Returns serialized object length.
Declarations for Read response parameters.
Comm * m_comm
Comm pointer.
Declarations for Read response callback.
virtual void encode(uint8_t **bufp) const
Writes serialized representation of object to a buffer.
std::shared_ptr< CommBuf > CommBufPtr
Smart pointer to CommBuf.
Compatibility Macros for C/C++.
int response(uint64_t offset, StaticBuffer &buffer)
Sends response parameters back to client.
int send_response(const CommAddress &addr, CommBufPtr &cbuf)
Sends a response message back over a connection.
Declarations for CommBuf.
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.