|
reSIProcate
SIP stack, Dialog Usage Manager and related libraries
|
#include <TurnTlsSocket.hxx>
Protected Member Functions | |
| virtual asio::error_code | rawWrite (const char *buffer, unsigned int size) |
| virtual asio::error_code | rawWrite (const std::vector< asio::const_buffer > &buffers) |
| virtual void | readHeader () |
| virtual void | readBody (unsigned int len) |
| virtual void | cancelSocket () |
Protected Member Functions inherited from reTurn::TurnTcpSocket | |
| virtual asio::error_code | rawRead (unsigned int timeout, unsigned int *bytesRead, asio::ip::address *sourceAddress=0, unsigned short *sourcePort=0) |
| virtual void | handleReadHeader (const asio::error_code &e) |
| Handle completion of a read operation for first 32 bits. | |
| asio::error_code | openAndBind (asio::ip::tcp::socket &socket) |
| Opens socket and binds it to the local binding (address and port), for a connection attempt. | |
| asio::ip::tcp | protocol () const |
| The protocol (IPv4 or IPv6) of the local binding. | |
| asio::error_code | waitForConnectStep (asio::error_code &result, const std::function< void()> &cancel) |
| For a step of connect() started as an asynchronous operation that sets result (initially asio::error::would_block) when it completes: runs the io_context until it does, or until the connect timeout passes - when cancel() is called (eg. | |
Protected Member Functions inherited from reTurn::TurnSocket | |
| void | startReadTimer (unsigned int timeout) |
| void | handleRawRead (const asio::error_code &errorCode, size_t bytesRead) |
| void | handleRawReadTimeout (const asio::error_code &errorCode) |
| void | queueReceived (unsigned int size) |
Definition at line 19 of file TurnTlsSocket.hxx.
|
explicit |
validateServerCertificateHostname: check the server certificate is for the host name (or IP address) passed to connect().
rootCertificatesFile: the PEM file of root certificates to verify the server certificate with.
Definition at line 44 of file TurnTlsSocket.cxx.
|
protectedvirtual |
Reimplemented from reTurn::TurnTcpSocket.
Definition at line 151 of file TurnTlsSocket.cxx.
|
virtual |
Reimplemented from reTurn::TurnTcpSocket.
Definition at line 58 of file TurnTlsSocket.cxx.
Reimplemented from reTurn::TurnTcpSocket.
Definition at line 30 of file TurnTlsSocket.hxx.
|
protectedvirtual |
Reimplemented from reTurn::TurnTcpSocket.
Definition at line 121 of file TurnTlsSocket.cxx.
|
protectedvirtual |
Reimplemented from reTurn::TurnTcpSocket.
Definition at line 129 of file TurnTlsSocket.cxx.
Reimplemented from reTurn::TurnTcpSocket.
Definition at line 144 of file TurnTlsSocket.cxx.
|
protectedvirtual |
Reimplemented from reTurn::TurnTcpSocket.
Definition at line 137 of file TurnTlsSocket.cxx.