37 int ResponseCallbackAttrList::response(
const vector<string> &anames) {
40 size_t payloadsize = 8;
41 vector<string>::const_iterator it;
43 for (it=anames.begin(); it != anames.end(); ++it) {
49 cbp->append_i32(anames.size());
51 for (it=anames.begin(); it != anames.end(); ++it) {
52 cbp->append_vstr(*it);
55 return m_comm->send_response(m_event->addr, cbp);
size_t encoded_length_vstr(size_t len)
Computes the encoded length of vstr (vint64, data, null)
std::shared_ptr< CommBuf > CommBufPtr
Smart pointer to CommBuf.
Compatibility Macros for C/C++.
Functions to serialize/deserialize primitives to/from a memory buffer.
Declarations for CommBuf.
Message buffer for holding data to be transmitted over a network.
Error codes, Exception handling, error logging.