Botan 3.0.0
Crypto and TLS for C&
|
#include <asio_async_ops.h>
Public Types | |
using | allocator_type = boost::asio::associated_allocator_t< Handler, Allocator > |
using | executor_type = boost::asio::associated_executor_t< Handler, Executor1 > |
Public Member Functions | |
AsyncHandshakeOperation (AsyncHandshakeOperation &&)=default | |
template<class HandlerT > | |
AsyncHandshakeOperation (HandlerT &&handler, Stream &stream, const boost::system::error_code &ec={}) | |
allocator_type | get_allocator () const noexcept |
executor_type | get_executor () const noexcept |
void | operator() (boost::system::error_code ec, std::size_t bytesTransferred, bool isContinuation=true) |
Protected Member Functions | |
template<class... Args> | |
void | complete_now (Args &&... args) |
Protected Attributes | |
Handler | m_handler |
boost::asio::executor_work_guard< Executor1 > | m_work_guard_1 |
Definition at line 267 of file asio_async_ops.h.
|
inherited |
Definition at line 71 of file asio_async_ops.h.
|
inherited |
Definition at line 72 of file asio_async_ops.h.
|
inline |
Construct and invoke an AsyncHandshakeOperation.
handler | Handler function to be called upon completion. |
stream | The stream from which the data will be read |
ec | Optional error code; used to report an error to the handler function. |
Definition at line 278 of file asio_async_ops.h.
|
default |
|
inlineprotectedinherited |
Call the completion handler.
This function should only be called after an intermediate initiating function has been called.
args | Arguments forwarded to the completion handler function. |
Definition at line 100 of file asio_async_ops.h.
References Botan::TLS::detail::AsyncBase< Handler, Executor1, Allocator >::m_handler, and Botan::TLS::detail::AsyncBase< Handler, Executor1, Allocator >::m_work_guard_1.
Referenced by Botan::TLS::detail::AsyncReadOperation< Handler, Stream, MutableBufferSequence, Allocator >::operator()(), Botan::TLS::detail::AsyncWriteOperation< Handler, Stream, Allocator >::operator()(), and Botan::TLS::detail::AsyncHandshakeOperation< Handler, Stream, Allocator >::operator()().
|
inlinenoexceptinherited |
Definition at line 74 of file asio_async_ops.h.
References Botan::TLS::detail::AsyncBase< Handler, Executor1, Allocator >::m_handler.
|
inlinenoexceptinherited |
Definition at line 79 of file asio_async_ops.h.
References Botan::TLS::detail::AsyncBase< Handler, Executor1, Allocator >::m_handler, and Botan::TLS::detail::AsyncBase< Handler, Executor1, Allocator >::m_work_guard_1.
|
inline |
Definition at line 292 of file asio_async_ops.h.
References Botan::TLS::detail::AsyncBase< Handler, Executor1, Allocator >::complete_now(), Botan::TLS::Stream< StreamLayer, ChannelT >::has_data_to_send(), Botan::TLS::Stream< StreamLayer, ChannelT >::input_buffer(), Botan::TLS::Stream< StreamLayer, ChannelT >::native_handle(), Botan::TLS::Stream< StreamLayer, ChannelT >::next_layer(), Botan::TLS::Stream< StreamLayer, ChannelT >::process_encrypted_data(), and Botan::TLS::StreamTruncated.
|
protectedinherited |
Definition at line 106 of file asio_async_ops.h.
Referenced by Botan::TLS::detail::AsyncBase< Handler, Executor1, Allocator >::complete_now(), Botan::TLS::detail::AsyncBase< Handler, Executor1, Allocator >::get_allocator(), and Botan::TLS::detail::AsyncBase< Handler, Executor1, Allocator >::get_executor().
|
protectedinherited |
Definition at line 107 of file asio_async_ops.h.
Referenced by Botan::TLS::detail::AsyncBase< Handler, Executor1, Allocator >::complete_now(), and Botan::TLS::detail::AsyncBase< Handler, Executor1, Allocator >::get_executor().