#include <ssl_server.h>
|
| typedef boost::asio::ssl::stream< boost::asio::ip::tcp::socket > | SslSocket |
| |
| typedef boost::asio::ip::tcp::endpoint | Endpoint |
| |
| typedef boost::asio::ip::tcp::socket | Socket |
| |
| typedef boost::asio::ip::tcp::socket::native_handle_type | NativeSocketType |
| |
|
| | SslServer (EventManager *evm, boost::asio::ssl::context::method m, bool ssl_enabled=true, bool ssl_handshake_delayed=false) |
| |
| virtual | ~SslServer () |
| |
| | TcpServer (EventManager *evm) |
| |
| virtual | ~TcpServer () |
| |
| virtual bool | Initialize (unsigned short port) |
| |
| virtual bool | Initialize (unsigned short port, const IpAddress &host_ip, int intf_id=-1) |
| |
| bool | InitializeInternal (boost::asio::ip::tcp::endpoint localaddr) |
| |
| const std::string | ToString () const |
| |
| void | SetAcceptor () |
| |
| void | ResetAcceptor () |
| |
| void | Shutdown () |
| |
| void | ClearSessions () |
| |
| void | UpdateSessionsDscp (uint8_t dscp) |
| |
| virtual TcpSession * | CreateSession () |
| |
| virtual void | DeleteSession (TcpSession *session) |
| |
| virtual void | Connect (TcpSession *session, Endpoint remote) |
| |
| virtual bool | DisableSandeshLogMessages () const |
| |
| int | GetPort () const |
| |
| const io::SocketStats & | GetSocketStats () const |
| |
| size_t | GetSessionCount () const |
| |
| EventManager * | event_manager () |
| |
| bool | HasSessionReadAvailable () const |
| |
| bool | HasSessions () const |
| |
| TcpSession * | GetSession (Endpoint remote) |
| |
| void | WaitForEmpty () |
| |
| void | GetRxSocketStats (SocketIOStats *socket_stats) const |
| |
| void | GetTxSocketStats (SocketIOStats *socket_stats) const |
| |
| void | GetRxSocketStats (SocketIOStats &socket_stats) const |
| |
| void | GetTxSocketStats (SocketIOStats &socket_stats) const |
| |
| int | SetMd5SocketOption (NativeSocketType fd, uint32_t peer_ip, const std::string &md5_password) |
| |
| int | SetListenSocketMd5Option (uint32_t peer_ip, const std::string &md5_password) |
| |
| int | SetDscpSocketOption (NativeSocketType fd, uint8_t value) |
| |
| uint8_t | GetDscpValue (NativeSocketType fd) const |
| |
| int | SetListenSocketDscp (uint8_t value) |
| |
| int | SetSocketOptions (const SandeshConfig &sandesh_config) |
| |
| int | SetKeepAliveSocketOption (int fd, const SandeshConfig &sandesh_config) |
| |
Definition at line 14 of file ssl_server.h.
◆ SslSocket
◆ SslServer()
| SslServer::SslServer |
( |
EventManager * |
evm, |
|
|
boost::asio::ssl::context::method |
m, |
|
|
bool |
ssl_enabled = true, |
|
|
bool |
ssl_handshake_delayed = false |
|
) |
| |
|
explicit |
◆ ~SslServer()
| SslServer::~SslServer |
( |
| ) |
|
|
virtual |
◆ accept_socket()
◆ AcceptHandlerComplete()
◆ AcceptHandShakeHandler()
| void SslServer::AcceptHandShakeHandler |
( |
TcpServerPtr |
server, |
|
|
TcpSessionPtr |
session, |
|
|
const boost::system::error_code & |
error |
|
) |
| |
|
staticprivate |
◆ AllocSession() [1/3]
| TcpSession * SslServer::AllocSession |
( |
bool |
server_session | ) |
|
|
privatevirtual |
◆ AllocSession() [2/3]
◆ AllocSession() [3/3]
◆ ConnectHandlerComplete()
◆ ConnectHandShakeHandler()
| void SslServer::ConnectHandShakeHandler |
( |
TcpServerPtr |
server, |
|
|
TcpSessionPtr |
session, |
|
|
const boost::system::error_code & |
error |
|
) |
| |
|
staticprivate |
◆ context()
| boost::asio::ssl::context * SslServer::context |
( |
| ) |
|
|
protected |
◆ DISALLOW_COPY_AND_ASSIGN()
| SslServer::DISALLOW_COPY_AND_ASSIGN |
( |
SslServer |
| ) |
|
|
private |
◆ set_accept_socket()
| void SslServer::set_accept_socket |
( |
| ) |
|
|
privatevirtual |
◆ SslSession
◆ context_
| boost::asio::ssl::context SslServer::context_ |
|
private |
◆ so_ssl_accept_
| std::unique_ptr<SslSocket> SslServer::so_ssl_accept_ |
|
private |
◆ ssl_enabled_
| bool SslServer::ssl_enabled_ |
|
private |
◆ ssl_handshake_delayed_
| bool SslServer::ssl_handshake_delayed_ |
|
private |
The documentation for this class was generated from the following files: