CPPMyth
Library to interoperate with MythTV server
Loading...
Searching...
No Matches
NSROOT::SSLSessionFactory Class Reference
Collaboration diagram for NSROOT::SSLSessionFactory:

Public Member Functions

bool IsEnabled () const
SecureSocketNewClientSocket ()

Static Public Member Functions

static SSLSessionFactory & Instance ()
static void Destroy ()

Private Member Functions

 SSLSessionFactory (const SSLSessionFactory &)
SSLSessionFactory & operator= (const SSLSessionFactory &)

Private Attributes

void * m_client_ctx
 SSL default client context.
bool m_enabled
 SSL feature status.

Static Private Attributes

static SSLSessionFactory * m_instance = 0

Detailed Description

Definition at line 33 of file securesocket.h.

Constructor & Destructor Documentation

◆ SSLSessionFactory()

SSLSessionFactory::SSLSessionFactory ( )
private

Definition at line 454 of file securesocket.cpp.

◆ ~SSLSessionFactory()

SSLSessionFactory::~SSLSessionFactory ( )
private

Definition at line 461 of file securesocket.cpp.

Member Function Documentation

◆ Destroy()

void SSLSessionFactory::Destroy ( )
static

Definition at line 47 of file securesocket.cpp.

◆ Instance()

SSLSessionFactory & SSLSessionFactory::Instance ( )
static

Definition at line 40 of file securesocket.cpp.

◆ IsEnabled()

bool NSROOT::SSLSessionFactory::IsEnabled ( ) const
inline

Definition at line 38 of file securesocket.h.

◆ NewClientSocket()

SecureSocket * SSLSessionFactory::NewClientSocket ( )

Create a new client socket. Ownership of the returned pointer is transferred to the caller.

Returns
new pointer to socket or nullptr on failure

Definition at line 465 of file securesocket.cpp.

Field Documentation

◆ m_client_ctx

void* NSROOT::SSLSessionFactory::m_client_ctx
private

SSL default client context.

Definition at line 54 of file securesocket.h.

◆ m_enabled

bool NSROOT::SSLSessionFactory::m_enabled
private

SSL feature status.

Definition at line 55 of file securesocket.h.

◆ m_instance

SSLSessionFactory * SSLSessionFactory::m_instance = 0
staticprivate

Definition at line 53 of file securesocket.h.


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