43 if (buffers.size() == 1 && buffers.front()) {
48 cbp->append_i32(buffer.size);
53 for (
const auto &pdb : buffers) {
60 cbp->append_i32(buffers.size());
61 for (
const auto &pdb : buffers) {
A memory buffer of static size.
Declarations for ResponseCallbackAttrGet.
Comm * m_comm
Comm pointer.
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 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.
void encode_bytes32(uint8_t **bufp, const void *data, int32_t len)
Encodes a variable sized byte array into the given buffer.
int response(const std::vector< Hypertable::DynamicBufferPtr > &buffers)
Sends back result of an attr_get request.