All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines
Public Member Functions | Private Types | Private Member Functions | Private Attributes
asio::ssl::detail::openssl_operation< Stream > Class Template Reference

#include <openssl_operation.hpp>

List of all members.

Public Member Functions

 openssl_operation (ssl_primitive_func primitive, Stream &socket, net_buffer &recv_buf, SSL *session, BIO *ssl_bio, user_handler_func handler, asio::io_service::strand &strand)
 openssl_operation (ssl_primitive_func primitive, Stream &socket, net_buffer &recv_buf, SSL *session, BIO *ssl_bio)
int start ()

Private Types

typedef boost::function< int(const
asio::error_code &, int)> 
int_handler_func
typedef boost::function< int()> read_func
typedef boost::function< int(bool,
int)> 
write_func

Private Member Functions

void async_read_handler (const asio::error_code &error, size_t bytes_recvd)
int async_user_handler (asio::error_code error, int rc)
void async_write_handler (bool is_operation_done, int rc, const asio::error_code &error, size_t bytes_sent)
int do_async_read ()
int do_async_write (bool is_operation_done, int rc)
int do_sync_read ()
int do_sync_write (bool is_operation_done, int rc)
int sync_user_handler (const asio::error_code &error, int rc)

Private Attributes

int_handler_func handler_
ssl_primitive_func primitive_
read_func read_
net_bufferrecv_buf_
net_buffer send_buf_
SSL * session_
Stream & socket_
BIO * ssl_bio_
asio::io_service::strandstrand_
user_handler_func user_handler_
write_func write_

Detailed Description

template<typename Stream>
class asio::ssl::detail::openssl_operation< Stream >

Definition at line 81 of file openssl_operation.hpp.


Member Typedef Documentation

template<typename Stream>
typedef boost::function<int (const asio::error_code&, int)> asio::ssl::detail::openssl_operation< Stream >::int_handler_func [private]

Definition at line 238 of file openssl_operation.hpp.

template<typename Stream>
typedef boost::function<int ()> asio::ssl::detail::openssl_operation< Stream >::read_func [private]

Definition at line 240 of file openssl_operation.hpp.

template<typename Stream>
typedef boost::function<int (bool, int)> asio::ssl::detail::openssl_operation< Stream >::write_func [private]

Definition at line 239 of file openssl_operation.hpp.


Constructor & Destructor Documentation

template<typename Stream>
asio::ssl::detail::openssl_operation< Stream >::openssl_operation ( ssl_primitive_func  primitive,
Stream &  socket,
net_buffer recv_buf,
SSL *  session,
BIO *  ssl_bio,
user_handler_func  handler,
asio::io_service::strand strand 
) [inline]

Definition at line 86 of file openssl_operation.hpp.

template<typename Stream>
asio::ssl::detail::openssl_operation< Stream >::openssl_operation ( ssl_primitive_func  primitive,
Stream &  socket,
net_buffer recv_buf,
SSL *  session,
BIO *  ssl_bio 
) [inline]

Definition at line 117 of file openssl_operation.hpp.


Member Function Documentation

template<typename Stream>
void asio::ssl::detail::openssl_operation< Stream >::async_read_handler ( const asio::error_code error,
size_t  bytes_recvd 
) [inline, private]

Definition at line 393 of file openssl_operation.hpp.

template<typename Stream>
int asio::ssl::detail::openssl_operation< Stream >::async_user_handler ( asio::error_code  error,
int  rc 
) [inline, private]

Definition at line 270 of file openssl_operation.hpp.

template<typename Stream>
void asio::ssl::detail::openssl_operation< Stream >::async_write_handler ( bool  is_operation_done,
int  rc,
const asio::error_code error,
size_t  bytes_sent 
) [inline, private]

Definition at line 353 of file openssl_operation.hpp.

template<typename Stream>
int asio::ssl::detail::openssl_operation< Stream >::do_async_read ( ) [inline, private]

Definition at line 371 of file openssl_operation.hpp.

template<typename Stream>
int asio::ssl::detail::openssl_operation< Stream >::do_async_write ( bool  is_operation_done,
int  rc 
) [inline, private]

Definition at line 284 of file openssl_operation.hpp.

template<typename Stream>
int asio::ssl::detail::openssl_operation< Stream >::do_sync_read ( ) [inline, private]

Definition at line 473 of file openssl_operation.hpp.

template<typename Stream>
int asio::ssl::detail::openssl_operation< Stream >::do_sync_write ( bool  is_operation_done,
int  rc 
) [inline, private]

Definition at line 434 of file openssl_operation.hpp.

template<typename Stream>
int asio::ssl::detail::openssl_operation< Stream >::start ( ) [inline]

Definition at line 146 of file openssl_operation.hpp.

template<typename Stream>
int asio::ssl::detail::openssl_operation< Stream >::sync_user_handler ( const asio::error_code error,
int  rc 
) [inline, private]

Definition at line 262 of file openssl_operation.hpp.


Member Data Documentation

template<typename Stream>
int_handler_func asio::ssl::detail::openssl_operation< Stream >::handler_ [private]

Definition at line 247 of file openssl_operation.hpp.

template<typename Stream>
ssl_primitive_func asio::ssl::detail::openssl_operation< Stream >::primitive_ [private]

Definition at line 242 of file openssl_operation.hpp.

template<typename Stream>
read_func asio::ssl::detail::openssl_operation< Stream >::read_ [private]

Definition at line 246 of file openssl_operation.hpp.

template<typename Stream>
net_buffer& asio::ssl::detail::openssl_operation< Stream >::recv_buf_ [private]

Definition at line 255 of file openssl_operation.hpp.

template<typename Stream>
net_buffer asio::ssl::detail::openssl_operation< Stream >::send_buf_ [private]

Definition at line 249 of file openssl_operation.hpp.

template<typename Stream>
SSL* asio::ssl::detail::openssl_operation< Stream >::session_ [private]

Definition at line 259 of file openssl_operation.hpp.

template<typename Stream>
Stream& asio::ssl::detail::openssl_operation< Stream >::socket_ [private]

Definition at line 257 of file openssl_operation.hpp.

template<typename Stream>
BIO* asio::ssl::detail::openssl_operation< Stream >::ssl_bio_ [private]

Definition at line 258 of file openssl_operation.hpp.

template<typename Stream>
asio::io_service::strand* asio::ssl::detail::openssl_operation< Stream >::strand_ [private]

Definition at line 244 of file openssl_operation.hpp.

template<typename Stream>
user_handler_func asio::ssl::detail::openssl_operation< Stream >::user_handler_ [private]

Definition at line 243 of file openssl_operation.hpp.

template<typename Stream>
write_func asio::ssl::detail::openssl_operation< Stream >::write_ [private]

Definition at line 245 of file openssl_operation.hpp.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


Castor
Author(s): Carpe Noctem
autogenerated on Fri Nov 8 2013 11:05:41