#include <openssl_stream_service.hpp>
Classes | |
class | base_handler |
class | handshake_handler |
struct | impl_struct |
class | io_handler |
class | shutdown_handler |
struct | ssl_wrap |
Public Types | |
typedef struct asio::ssl::detail::openssl_stream_service::impl_struct * | impl_type |
Public Member Functions | |
template<typename Stream , typename Handler > | |
void | async_handshake (impl_type &impl, Stream &next_layer, stream_base::handshake_type type, Handler handler) |
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 Handler > | |
void | async_shutdown (impl_type &impl, Stream &next_layer, Handler handler) |
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 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 > | |
std::size_t | in_avail (impl_type &impl, Stream &next_layer, asio::error_code &ec) |
impl_type | null () const |
openssl_stream_service (asio::io_service &io_service) | |
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 , 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 > | |
asio::error_code | shutdown (impl_type &impl, Stream &next_layer, asio::error_code &ec) |
void | shutdown_service () |
Destroy all user-defined handler objects owned by the service. | |
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) |
Private Types | |
enum | { max_buffer_size = INT_MAX } |
typedef asio::detail::mutex | mutex_type |
Private Attributes | |
asio::io_service::strand | strand_ |
Definition at line 43 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 495 of file openssl_stream_service.hpp.
anonymous enum [private] |
Definition at line 47 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 166 of file openssl_stream_service.hpp.
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 240 of file openssl_stream_service.hpp.
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 437 of file openssl_stream_service.hpp.
void asio::ssl::detail::openssl_stream_service::async_shutdown | ( | impl_type & | impl, |
Stream & | next_layer, | ||
Handler | handler | ||
) | [inline] |
Definition at line 298 of file openssl_stream_service.hpp.
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 363 of file openssl_stream_service.hpp.
void asio::ssl::detail::openssl_stream_service::create | ( | impl_type & | impl, |
Stream & | next_layer, | ||
basic_context< Context_Service > & | context | ||
) | [inline] |
Definition at line 185 of file openssl_stream_service.hpp.
void asio::ssl::detail::openssl_stream_service::destroy | ( | impl_type & | impl, |
Stream & | next_layer | ||
) | [inline] |
Definition at line 200 of file openssl_stream_service.hpp.
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 213 of file openssl_stream_service.hpp.
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 485 of file openssl_stream_service.hpp.
impl_type asio::ssl::detail::openssl_stream_service::null | ( | ) | const [inline] |
Definition at line 178 of file openssl_stream_service.hpp.
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 476 of file openssl_stream_service.hpp.
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 402 of file openssl_stream_service.hpp.
asio::error_code asio::ssl::detail::openssl_stream_service::shutdown | ( | impl_type & | impl, |
Stream & | next_layer, | ||
asio::error_code & | ec | ||
) | [inline] |
Definition at line 273 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 173 of file openssl_stream_service.hpp.
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 328 of file openssl_stream_service.hpp.
Definition at line 493 of file openssl_stream_service.hpp.