Base class for event-driven communication classes. More...
#include <reactor.h>
Public Member Functions | |
virtual bool | is_stopper () const |
If this handler used as Reactor stopper. | |
virtual void | handle_input (bool &) |
virtual void | handle_output (bool &) |
virtual void | finish () |
virtual bool | catch_in_reactor () const |
Whether reactor should catch its exceptions. | |
virtual void | log_exception (const std::exception &) |
Log its exception catched in an external object. | |
virtual void | log_unknown_exception () |
Log its exception catched in an external object. | |
virtual Socket::Handler | get_handler () const =0 |
Base class for event-driven communication classes.
|
inlinevirtual |
Invoked by Reactor when handle_X() sets terminate variable to true.
Reimplemented in iqnet::Acceptor, iqnet::Connection, iqxmlrpc::Http_server_connection, and iqxmlrpc::Https_server_connection.