gloox 1.0
|
This is an implementation of the server-side of a TLS/SSL connection. More...
#include <connectiontlsserver.h>
Public Member Functions | |
ConnectionTLSServer (ConnectionDataHandler *cdh, ConnectionBase *conn, const LogSink &log) | |
ConnectionTLSServer (ConnectionBase *conn, const LogSink &log) | |
virtual | ~ConnectionTLSServer () |
virtual TLSBase * | getTLSBase (TLSHandler *th, const std::string server) |
virtual ConnectionBase * | newInstance () const |
This is an implementation of the server-side of a TLS/SSL connection.
You should not need to use this class directly.
Definition at line 38 of file connectiontlsserver.h.
ConnectionTLSServer | ( | ConnectionDataHandler * | cdh, |
ConnectionBase * | conn, | ||
const LogSink & | log | ||
) |
Constructs a new ConnectionTLSServer object.
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 18 of file connectiontlsserver.cpp.
ConnectionTLSServer | ( | ConnectionBase * | conn, |
const LogSink & | log | ||
) |
Constructs a new ConnectionTLSServer object.
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 24 of file connectiontlsserver.cpp.
~ConnectionTLSServer | ( | ) | [virtual] |
Virtual Destructor.
Definition at line 29 of file connectiontlsserver.cpp.
TLSBase * getTLSBase | ( | TLSHandler * | th, |
const std::string | server | ||
) | [virtual] |
Returns a TLS server.
Reimplemented from ConnectionTLS.
Definition at line 33 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.
Reimplemented from ConnectionTLS.
Definition at line 38 of file connectiontlsserver.cpp.