Ssl::Context Class Referenceabstract

Implemented by SSL adapter to create and manage SSL connections. More...

#include <Context.h>

Collaboration diagram for Ssl::Context:
[legend]

Public Member Functions

 Context (Session &session)
 
virtual ~Context ()
 
virtual bool init ()=0
 Initializer method that must be called after object creation and before the creation of server or client connections. More...
 
virtual ConnectioncreateClient (tcp_pcb *tcp)=0
 Creates client SSL connection. Your SSL client use this call to create a client connection to remote server. More...
 
virtual ConnectioncreateServer (tcp_pcb *tcp)=0
 Creates server SSL connection. Your SSL servers use this call to allow remote clients to connect to them and use SSL. More...
 

Public Attributes

Sessionsession
 

Detailed Description

Implemented by SSL adapter to create and manage SSL connections.

Constructor & Destructor Documentation

◆ Context()

Ssl::Context::Context ( Session session)
inline

◆ ~Context()

virtual Ssl::Context::~Context ( )
inlinevirtual

Member Function Documentation

◆ createClient()

virtual Connection* Ssl::Context::createClient ( tcp_pcb *  tcp)
pure virtual

Creates client SSL connection. Your SSL client use this call to create a client connection to remote server.

Return values
Connection*

◆ createServer()

virtual Connection* Ssl::Context::createServer ( tcp_pcb *  tcp)
pure virtual

Creates server SSL connection. Your SSL servers use this call to allow remote clients to connect to them and use SSL.

Return values
Connection*

◆ init()

virtual bool Ssl::Context::init ( )
pure virtual

Initializer method that must be called after object creation and before the creation of server or client connections.

Return values
booltrue on success

Member Data Documentation

◆ session

Session& Ssl::Context::session

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