libiqxmlrpc  0.12.4
 All Classes Namespaces Files Functions Typedefs Enumerations
Public Member Functions | List of all members
iqnet::Event_handler Class Referenceabstract

Base class for event-driven communication classes. More...

#include <reactor.h>

Inheritance diagram for iqnet::Event_handler:
iqnet::Acceptor iqnet::Connection iqnet::ssl::Connection iqxmlrpc::Http_client_connection iqxmlrpc::Http_server_connection iqxmlrpc::Https_proxy_client_connection iqnet::ssl::Reaction_connection iqxmlrpc::Http_proxy_client_connection iqxmlrpc::Https_client_connection iqxmlrpc::Https_server_connection

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
 

Detailed Description

Base class for event-driven communication classes.

Member Function Documentation

virtual void iqnet::Event_handler::finish ( )
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.


The documentation for this class was generated from the following file: