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

#include <ssl_connection.h>

Inheritance diagram for iqnet::ssl::Reaction_connection:
iqnet::ssl::Connection iqnet::Connection iqnet::Event_handler iqxmlrpc::Https_client_connection iqxmlrpc::Https_server_connection

Public Member Functions

 Reaction_connection (const Socket &, Reactor_base *=0)
 
void set_reactor (Reactor_base *r)
 A trick for supporting generic factory.
 
void post_accept ()
 Does ssl_accept()
 
void post_connect ()
 Does ssl_connect()
 
void handle_input (bool &)
 
void handle_output (bool &)
 
- Public Member Functions inherited from iqnet::ssl::Connection
 Connection (const Socket &sock)
 
void shutdown ()
 
size_t send (const char *, size_t)
 
size_t recv (char *, size_t)
 
- Public Member Functions inherited from iqnet::Connection
 Connection (const Socket &)
 
void finish ()
 
const iqnet::Inet_addrget_peer_addr () const
 
Socket::Handler get_handler () const
 
- Public Member Functions inherited from iqnet::Event_handler
virtual bool is_stopper () const
 If this handler used as Reactor stopper.
 
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.
 

Protected Member Functions

void ssl_accept ()
 Performs SSL accepting.
 
void ssl_connect ()
 Performs SSL connecting.
 
bool reg_shutdown ()
 Returns true if shutdown already performed.
 
void reg_accept ()
 
void reg_connect ()
 
void reg_send (const char *, size_t)
 
void reg_recv (char *, size_t)
 
virtual void accept_succeed ()
 Overwrite it for server connection.
 
virtual void connect_succeed ()
 Overwrite it for client connection.
 
virtual void recv_succeed (bool &terminate, size_t req_len, size_t real_len)=0
 
virtual void send_succeed (bool &terminate)=0
 
- Protected Member Functions inherited from iqnet::ssl::Connection
bool shutdown_recved ()
 
bool shutdown_sent ()
 

Additional Inherited Members

- Protected Attributes inherited from iqnet::ssl::Connection
ssl::Ctxssl_ctx
 
SSL * ssl
 

Detailed Description

Server-side established SSL-connection based on reactive model (with underlying non-blocking socket).


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