Ssl::Factory Class Referenceabstract

Implemented by SSL adapter. More...

#include <Factory.h>

Public Member Functions

virtual ~Factory ()
 
virtual ContextcreateContext (Session &session)=0
 Create SSL context that can be used to create new client or server connections. More...
 

Detailed Description

Implemented by SSL adapter.

See also
https://en.wikipedia.org/wiki/Factory_method_pattern

Constructor & Destructor Documentation

◆ ~Factory()

virtual Ssl::Factory::~Factory ( )
inlinevirtual

Member Function Documentation

◆ createContext()

virtual Context* Ssl::Factory::createContext ( Session session)
pure virtual

Create SSL context that can be used to create new client or server connections.

Return values
Context*The constructed context, shouldn't fail (except on OOM)

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