C++ Actor Framework 1.0.0
Loading...
Searching...
No Matches
caf::net::ssl::tcp_acceptor Class Reference

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_acceptoroperator= (const tcp_acceptor &)=delete
 
 tcp_acceptor (tcp_acceptor &&other)
 
tcp_acceptoroperator= (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
 
contextctx () noexcept
 
const contextctx () const noexcept
 

Static Public Member Functions

static expected< tcp_acceptormake_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_acceptormake_with_cert_file (uint16_t port, const char *cert_file_path, const char *key_file_path, format file_format=format::pem)
 
static expected< tcp_acceptormake_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_acceptormake_with_cert_file (uint16_t port, const std::string &cert_file_path, const std::string &key_file_path, format file_format=format::pem)
 

Detailed Description

Wraps a TCP accept socket and an SSL context.


The documentation for this class was generated from the following files: