Definition at line 18 of file tls_server.cpp.
◆ TcpConnectionSecured
Type alias for secured tcp connection.
Definition at line 28 of file tls_server.cpp.
◆ TlsSocket
◆ TlsServerImpl() [1/3]
boost_support::server::tls::TlsServer::TlsServerImpl::TlsServerImpl |
( |
std::string_view |
server_name, |
|
|
TlsSocket |
tcp_socket |
|
) |
| |
|
inlineexplicitnoexcept |
Constructs an instance of TcpServerImpl.
- Parameters
-
[in] | tcp_socket | The underlying tcp socket required for communication |
Definition at line 36 of file tls_server.cpp.
TcpConnectionSecured tcp_connection_
Store the tcp connection.
◆ TlsServerImpl() [2/3]
boost_support::server::tls::TlsServer::TlsServerImpl::TlsServerImpl |
( |
const TlsServerImpl & |
other | ) |
|
|
deletenoexcept |
Deleted copy assignment and copy constructor.
◆ TlsServerImpl() [3/3]
boost_support::server::tls::TlsServer::TlsServerImpl::TlsServerImpl |
( |
TlsServerImpl && |
other | ) |
|
|
deletenoexcept |
Deleted move assignment and move constructor.
◆ ~TlsServerImpl()
boost_support::server::tls::TlsServer::TlsServerImpl::~TlsServerImpl |
( |
| ) |
|
|
defaultnoexcept |
Destruct an instance of TcpServerImpl.
◆ DeInitialize()
void boost_support::server::tls::TlsServer::TlsServerImpl::DeInitialize |
( |
| ) |
|
|
inlinenoexcept |
◆ Initialize()
void boost_support::server::tls::TlsServer::TlsServerImpl::Initialize |
( |
| ) |
|
|
inlinenoexcept |
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ SetReadHandler()
void boost_support::server::tls::TlsServer::TlsServerImpl::SetReadHandler |
( |
HandlerRead |
read_handler | ) |
|
|
inlinenoexcept |
Function to set the read handler that is invoked when message is received.
The ownership of provided read handler is moved
- Parameters
-
[in] | read_handler | The handler to be set |
Definition at line 72 of file tls_server.cpp.
References tcp_connection_.
◆ Transmit()
Function to transmit the provided tcp message.
- Parameters
-
[in] | tcp_message | The tcp message |
- Returns
- Empty void on success, otherwise error is returned
Definition at line 82 of file tls_server.cpp.
References tcp_connection_.
◆ tcp_connection_
The documentation for this class was generated from the following file:
- /home/runner/work/diag-client-lib/diag-client-lib/diag-client-lib/lib/boost-support/src/boost-support/server/tls/tls_server.cpp