38 using namespace FsBroker::Lib::Response;
46 params.
encode(cbuf->get_data_ptr_address());
Response parameters for append requests.
Declarations for Append response parameters.
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.
Compatibility Macros for C/C++.
int send_response(const CommAddress &addr, CommBufPtr &cbuf)
Sends a response message back over a connection.
Declarations for Append response callback.
Declarations for CommBuf.
Message buffer for holding data to be transmitted over a network.
int response(uint64_t offset, uint32_t amount)
Sends response parameters back to client.
EventPtr m_event
Smart pointer to event object.
Error codes, Exception handling, error logging.