41 size_t decode_remain = m_event->payload_len;
42 const uint8_t *decode_ptr = m_event->payload;
45 uint64_t handle =
decode_i64(&decode_ptr, &decode_remain);
47 m_master->release(&cb, m_session_id, handle);
51 cb.
error(e.
code(),
"Error handling RELEASE message");
uint64_t decode_i64(const uint8_t **bufp, size_t *remainp)
Decode a 64-bit integer in little-endian order.
Logging routines and macros.
Compatibility Macros for C/C++.
Functions to serialize/deserialize primitives to/from a memory buffer.
This class is used to generate and deliver standard responses back to a client.
virtual int error(int error, const String &msg)
Sends a standard error response back to the client.
This is a generic exception class for Hypertable.
virtual void run()
Carries out the request.
Declarations for ResponseCallback.
Error codes, Exception handling, error logging.
int code() const
Returns the error code.