#include <openssl_stream_service.hpp>

Public Types | |
| typedef struct asio::ssl::detail::openssl_stream_service::impl_struct * | impl_type |
Public Member Functions | |
| openssl_stream_service (asio::io_service &io_service) | |
| void | shutdown_service () |
| Destroy all user-defined handler objects owned by the service. | |
| impl_type | null () const |
| template<typename Stream, typename Context_Service> | |
| void | create (impl_type &impl, Stream &next_layer, basic_context< Context_Service > &context) |
| template<typename Stream> | |
| void | destroy (impl_type &impl, Stream &next_layer) |
| template<typename Stream> | |
| asio::error_code | handshake (impl_type &impl, Stream &next_layer, stream_base::handshake_type type, asio::error_code &ec) |
| template<typename Stream, typename Handler> | |
| void | async_handshake (impl_type &impl, Stream &next_layer, stream_base::handshake_type type, Handler handler) |
| template<typename Stream> | |
| asio::error_code | shutdown (impl_type &impl, Stream &next_layer, asio::error_code &ec) |
| template<typename Stream, typename Handler> | |
| void | async_shutdown (impl_type &impl, Stream &next_layer, Handler handler) |
| template<typename Stream, typename Const_Buffers> | |
| std::size_t | write_some (impl_type &impl, Stream &next_layer, const Const_Buffers &buffers, asio::error_code &ec) |
| template<typename Stream, typename Const_Buffers, typename Handler> | |
| void | async_write_some (impl_type &impl, Stream &next_layer, const Const_Buffers &buffers, Handler handler) |
| template<typename Stream, typename Mutable_Buffers> | |
| std::size_t | read_some (impl_type &impl, Stream &next_layer, const Mutable_Buffers &buffers, asio::error_code &ec) |
| template<typename Stream, typename Mutable_Buffers, typename Handler> | |
| void | async_read_some (impl_type &impl, Stream &next_layer, const Mutable_Buffers &buffers, Handler handler) |
| template<typename Stream, typename Mutable_Buffers> | |
| std::size_t | peek (impl_type &impl, Stream &next_layer, const Mutable_Buffers &buffers, asio::error_code &ec) |
| template<typename Stream> | |
| std::size_t | in_avail (impl_type &impl, Stream &next_layer, asio::error_code &ec) |
Private Types | |
| typedef asio::detail::mutex | mutex_type |
Classes | |
| class | base_handler |
| class | handshake_handler |
| struct | impl_struct |
| class | io_handler |
| class | shutdown_handler |
| struct | ssl_wrap |
Definition at line 41 of file openssl_stream_service.hpp.
| typedef struct asio::ssl::detail::openssl_stream_service::impl_struct * asio::ssl::detail::openssl_stream_service::impl_type |
typedef asio::detail::mutex asio::ssl::detail::openssl_stream_service::mutex_type [private] |
Definition at line 468 of file openssl_stream_service.hpp.
| asio::ssl::detail::openssl_stream_service::openssl_stream_service | ( | asio::io_service & | io_service | ) | [inline, explicit] |
Definition at line 162 of file openssl_stream_service.hpp.
| void asio::ssl::detail::openssl_stream_service::shutdown_service | ( | ) | [inline, virtual] |
Destroy all user-defined handler objects owned by the service.
Implements asio::io_service::service.
Definition at line 168 of file openssl_stream_service.hpp.
| impl_type asio::ssl::detail::openssl_stream_service::null | ( | ) | const [inline] |
Definition at line 173 of file openssl_stream_service.hpp.
Referenced by asio::ssl::stream_service::null().
| void asio::ssl::detail::openssl_stream_service::create | ( | impl_type & | impl, | |
| Stream & | next_layer, | |||
| basic_context< Context_Service > & | context | |||
| ) | [inline] |
Definition at line 180 of file openssl_stream_service.hpp.
References asio::ssl::detail::openssl_stream_service::impl_struct::ext_bio, asio::ssl::basic_context< Service >::impl(), and asio::ssl::detail::openssl_stream_service::impl_struct::ssl.
Referenced by asio::ssl::stream_service::create().
| void asio::ssl::detail::openssl_stream_service::destroy | ( | impl_type & | impl, | |
| Stream & | next_layer | |||
| ) | [inline] |
Definition at line 195 of file openssl_stream_service.hpp.
References asio::ssl::detail::openssl_stream_service::impl_struct::ext_bio, and asio::ssl::detail::openssl_stream_service::impl_struct::ssl.
Referenced by asio::ssl::stream_service::destroy().
| asio::error_code asio::ssl::detail::openssl_stream_service::handshake | ( | impl_type & | impl, | |
| Stream & | next_layer, | |||
| stream_base::handshake_type | type, | |||
| asio::error_code & | ec | |||
| ) | [inline] |
Definition at line 208 of file openssl_stream_service.hpp.
References asio::ssl::stream_base::client, asio::system_error::code(), simple_client::e, asio::ssl::detail::openssl_stream_service::impl_struct::ext_bio, asio::ssl::detail::openssl_stream_service::impl_struct::recv_buf, asio::ssl::detail::openssl_stream_service::impl_struct::ssl, and asio::ssl::detail::openssl_operation< Stream >::start().
Referenced by asio::ssl::stream_service::handshake().
| void asio::ssl::detail::openssl_stream_service::async_handshake | ( | impl_type & | impl, | |
| Stream & | next_layer, | |||
| stream_base::handshake_type | type, | |||
| Handler | handler | |||
| ) | [inline] |
Definition at line 235 of file openssl_stream_service.hpp.
References asio::detail::socket_ops::bind(), asio::ssl::stream_base::client, asio::ssl::detail::openssl_stream_service::impl_struct::ext_bio, asio::io_service::service::io_service(), asio::io_service::post(), asio::ssl::detail::openssl_stream_service::impl_struct::recv_buf, and asio::ssl::detail::openssl_stream_service::impl_struct::ssl.
Referenced by asio::ssl::stream_service::async_handshake().
| asio::error_code asio::ssl::detail::openssl_stream_service::shutdown | ( | impl_type & | impl, | |
| Stream & | next_layer, | |||
| asio::error_code & | ec | |||
| ) | [inline] |
Definition at line 267 of file openssl_stream_service.hpp.
References asio::system_error::code(), simple_client::e, asio::ssl::detail::openssl_stream_service::impl_struct::ext_bio, asio::ssl::detail::openssl_stream_service::impl_struct::recv_buf, asio::ssl::detail::openssl_stream_service::impl_struct::ssl, and asio::ssl::detail::openssl_operation< Stream >::start().
Referenced by asio::ssl::stream_service::shutdown().
| void asio::ssl::detail::openssl_stream_service::async_shutdown | ( | impl_type & | impl, | |
| Stream & | next_layer, | |||
| Handler | handler | |||
| ) | [inline] |
Definition at line 292 of file openssl_stream_service.hpp.
References asio::detail::socket_ops::bind(), asio::ssl::detail::openssl_stream_service::impl_struct::ext_bio, asio::io_service::service::io_service(), asio::io_service::post(), asio::ssl::detail::openssl_stream_service::impl_struct::recv_buf, and asio::ssl::detail::openssl_stream_service::impl_struct::ssl.
Referenced by asio::ssl::stream_service::async_shutdown().
| std::size_t asio::ssl::detail::openssl_stream_service::write_some | ( | impl_type & | impl, | |
| Stream & | next_layer, | |||
| const Const_Buffers & | buffers, | |||
| asio::error_code & | ec | |||
| ) | [inline] |
Definition at line 321 of file openssl_stream_service.hpp.
References asio::detail::socket_ops::bind(), asio::placeholders::bytes_transferred, asio::system_error::code(), simple_client::e, asio::ssl::detail::openssl_stream_service::impl_struct::ext_bio, asio::ssl::detail::openssl_stream_service::impl_struct::recv_buf, and asio::ssl::detail::openssl_stream_service::impl_struct::ssl.
Referenced by asio::ssl::stream_service::write_some().
| void asio::ssl::detail::openssl_stream_service::async_write_some | ( | impl_type & | impl, | |
| Stream & | next_layer, | |||
| const Const_Buffers & | buffers, | |||
| Handler | handler | |||
| ) | [inline] |
Definition at line 352 of file openssl_stream_service.hpp.
References asio::detail::socket_ops::bind(), asio::ssl::detail::openssl_stream_service::impl_struct::ext_bio, asio::io_service::service::io_service(), asio::io_service::post(), asio::ssl::detail::openssl_stream_service::impl_struct::recv_buf, and asio::ssl::detail::openssl_stream_service::impl_struct::ssl.
Referenced by asio::ssl::stream_service::async_write_some().
| std::size_t asio::ssl::detail::openssl_stream_service::read_some | ( | impl_type & | impl, | |
| Stream & | next_layer, | |||
| const Mutable_Buffers & | buffers, | |||
| asio::error_code & | ec | |||
| ) | [inline] |
Definition at line 386 of file openssl_stream_service.hpp.
References asio::detail::socket_ops::bind(), asio::placeholders::bytes_transferred, asio::system_error::code(), simple_client::e, asio::ssl::detail::openssl_stream_service::impl_struct::ext_bio, asio::ssl::detail::openssl_stream_service::impl_struct::recv_buf, asio::ssl::detail::openssl_stream_service::impl_struct::ssl, and asio::ssl::detail::openssl_operation< Stream >::start().
Referenced by asio::ssl::stream_service::read_some().
| void asio::ssl::detail::openssl_stream_service::async_read_some | ( | impl_type & | impl, | |
| Stream & | next_layer, | |||
| const Mutable_Buffers & | buffers, | |||
| Handler | handler | |||
| ) | [inline] |
Definition at line 417 of file openssl_stream_service.hpp.
References asio::detail::socket_ops::bind(), asio::ssl::detail::openssl_stream_service::impl_struct::ext_bio, asio::io_service::service::io_service(), asio::io_service::post(), asio::ssl::detail::openssl_stream_service::impl_struct::recv_buf, and asio::ssl::detail::openssl_stream_service::impl_struct::ssl.
Referenced by asio::ssl::stream_service::async_read_some().
| std::size_t asio::ssl::detail::openssl_stream_service::peek | ( | impl_type & | impl, | |
| Stream & | next_layer, | |||
| const Mutable_Buffers & | buffers, | |||
| asio::error_code & | ec | |||
| ) | [inline] |
Definition at line 451 of file openssl_stream_service.hpp.
Referenced by asio::ssl::stream_service::peek().
| std::size_t asio::ssl::detail::openssl_stream_service::in_avail | ( | impl_type & | impl, | |
| Stream & | next_layer, | |||
| asio::error_code & | ec | |||
| ) | [inline] |
Definition at line 460 of file openssl_stream_service.hpp.
Referenced by asio::ssl::stream_service::in_avail().
1.5.6