static int32_t response_code(const Event *event)
Returns the response code from an event event generated in response to a request message.
void handle_error(int scanner_id, int error, const std::string &error_msg, bool is_create)
Deal with errors.
void handle_timeout(int scanner_id, const std::string &error_msg, bool is_create)
Deal with timeouts.
Compatibility Macros for C/C++.
virtual void run()
Carries out the request.
TableScannerAsync * m_scanner
#define HT_INFOF(msg,...)
void cancel()
Cancels the scanner.
void handle_result(int scanner_id, EventPtr &event, bool is_create)
Deal with results of a scanner.
Request/response message event.
This is a generic exception class for Hypertable.
EventPtr m_event
MESSAGE Event from which handler was initialized.