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

SSL connection class. More...

#include <ssl_connection.h>

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

Public Member Functions

 Connection (const Socket &sock)
 
void shutdown ()
 
size_t send (const char *, size_t)
 
size_t recv (char *, size_t)
 
void post_accept ()
 Does ssl_accept()
 
void post_connect ()
 Does ssl_connect()
 
- 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 void handle_input (bool &)
 
virtual void handle_output (bool &)
 
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

virtual void ssl_accept ()
 Performs SSL accepting.
 
virtual void ssl_connect ()
 Performs SSL connecting.
 
bool shutdown_recved ()
 
bool shutdown_sent ()
 

Protected Attributes

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

Detailed Description

SSL connection class.


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