C++ Actor Framework 1.0.0
|
Wraps a TCP accept socket and an SSL context. More...
#include <tcp_acceptor.hpp>
Public Types | |
using | transport_type = transport |
Public Member Functions | |
tcp_acceptor (const tcp_acceptor &)=delete | |
tcp_acceptor & | operator= (const tcp_acceptor &)=delete |
tcp_acceptor (tcp_acceptor &&other) | |
tcp_acceptor & | operator= (tcp_acceptor &&other) |
tcp_acceptor (tcp_accept_socket fd, context ctx) | |
tcp_acceptor (tcp_accept_socket fd, std::shared_ptr< context > ctx) | |
tcp_accept_socket | fd () const noexcept |
context & | ctx () noexcept |
const context & | ctx () const noexcept |
Static Public Member Functions | |
static expected< tcp_acceptor > | make_with_cert_file (tcp_accept_socket fd, const char *cert_file_path, const char *key_file_path, format file_format=format::pem) |
static expected< tcp_acceptor > | make_with_cert_file (uint16_t port, const char *cert_file_path, const char *key_file_path, format file_format=format::pem) |
static expected< tcp_acceptor > | make_with_cert_file (tcp_accept_socket fd, const std::string &cert_file_path, const std::string &key_file_path, format file_format=format::pem) |
static expected< tcp_acceptor > | make_with_cert_file (uint16_t port, const std::string &cert_file_path, const std::string &key_file_path, format file_format=format::pem) |
Wraps a TCP accept socket and an SSL context.