This is an implementation of the server-side of a TLS/SSL connection. More...
#include <connectiontlsserver.h>
Inherits gloox::ConnectionTLS.
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 16 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 22 of file connectiontlsserver.cpp.
~ConnectionTLSServer | ( | ) | [virtual] |
Virtual Destructor.
Definition at line 27 of file connectiontlsserver.cpp.
TLSBase * getTLSBase | ( | TLSHandler * | th, | |
const std::string | server | |||
) | [virtual] |
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.
Reimplemented from ConnectionTLS.
Definition at line 36 of file connectiontlsserver.cpp.