ConnectionTLSServer Class Reference

This is an implementation of the server-side of a TLS/SSL connection. More...

#include <connectiontlsserver.h>

Inherits gloox::ConnectionTLS.

List of all members.

Public Member Functions

 ConnectionTLSServer (ConnectionDataHandler *cdh, ConnectionBase *conn, const LogSink &log)
 ConnectionTLSServer (ConnectionBase *conn, const LogSink &log)
virtual ~ConnectionTLSServer ()
virtual TLSBasegetTLSBase (TLSHandler *th, const std::string server)
virtual ConnectionBasenewInstance () const

Detailed Description

This is an implementation of the server-side of a TLS/SSL connection.

You should not need to use this class directly.

Author:
Jakob Schroeter <js@camaya.net>
Since:
1.0

Definition at line 38 of file connectiontlsserver.h.


Constructor & Destructor Documentation

ConnectionTLSServer ( ConnectionDataHandler cdh,
ConnectionBase conn,
const LogSink log 
)

Constructs a new ConnectionTLSServer object.

Parameters:
cdh The ConnectionDataHandler that will be notified of events from this connection
conn A transport connection. It should be an established connection from a client that is about to perform a TLS handshake. ConnectionTLSServer will own the transport connection and delete it in its destructor.
log The log target. Obtain it from ClientBase::logInstance().

Definition at line 16 of file connectiontlsserver.cpp.

ConnectionTLSServer ( ConnectionBase conn,
const LogSink log 
)

Constructs a new ConnectionTLSServer object.

Parameters:
conn A transport connection. It should be an established connection from a client that is about to perform a TLS handshake. ConnectionTLSServer will own the transport connection and delete it in its destructor.
log The log target. Obtain it from ClientBase::logInstance().

Definition at line 22 of file connectiontlsserver.cpp.

~ConnectionTLSServer (  )  [virtual]

Virtual Destructor.

Definition at line 27 of file connectiontlsserver.cpp.


Member Function Documentation

TLSBase * getTLSBase ( TLSHandler th,
const std::string  server 
) [virtual]

Returns a TLS server.

Returns:
A TLS server.

Reimplemented from ConnectionTLS.

Definition at line 31 of file connectiontlsserver.cpp.

ConnectionBase * newInstance (  )  const [virtual]

This function returns a new instance of the current ConnectionBase-derived object. The idea is to be able to 'clone' ConnectionBase-derived objects without knowing of what type they are exactly.

Returns:
A new Connection* instance.

Reimplemented from ConnectionTLS.

Definition at line 36 of file connectiontlsserver.cpp.


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

Generated by  doxygen 1.6.2