glooxd
0.3-svn
|
#include <connectioncompression.h>
Public Member Functions | |
ConnectionCompression (gloox::ConnectionDataHandler *cdh, gloox::ConnectionBase *conn, const gloox::LogSink &log) | |
ConnectionCompression (gloox::ConnectionBase *conn, const gloox::LogSink &log) | |
virtual | ~ConnectionCompression () |
void | setConnectionImpl (gloox::ConnectionBase *connection) |
This is an implementation of a de/compressing connection.
There should be no need to use this class directly. It is used by ClientBase internally.
Definition at line 43 of file connectioncompression.h.
ConnectionCompression | ( | gloox::ConnectionDataHandler * | cdh, |
gloox::ConnectionBase * | conn, | ||
const gloox::LogSink & | log | ||
) |
Constructs a new ConnectionCompression object.
cdh | The ConnectionDataHandler that will be notified of events from this connection |
conn | A transport connection. It should be configured to connect to the server and port you wish to make the encrypted connection to. ConnectionCompression will own the transport connection and delete it in its destructor. |
logInstance | The log target. Obtain it from ClientBase::logInstance(). |
Definition at line 23 of file connectioncompression.cpp.
ConnectionCompression | ( | gloox::ConnectionBase * | conn, |
const gloox::LogSink & | log | ||
) |
Constructs a new ConnectionCompression object.
conn | A transport connection. It should be configured to connect to the server and port you wish to make the encrypted connection to. ConnectionCompression will own the transport connection and delete it in its destructor. |
logInstance | The log target. Obtain it from ClientBase::logInstance(). |
Definition at line 32 of file connectioncompression.cpp.
|
virtual |
Virtual Destructor.
Definition at line 40 of file connectioncompression.cpp.
void setConnectionImpl | ( | gloox::ConnectionBase * | connection | ) |
Sets the transport connection.
connection | The transport connection to use. |
Definition at line 46 of file connectioncompression.cpp.