glooxd  0.3-svn
Public Member Functions | List of all members
ConnectionCompression Class Reference

#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)

Detailed Description

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.

Author
Jakob Schroeter js@ca.nosp@m.maya.nosp@m..net
Since
1.1

Definition at line 43 of file connectioncompression.h.

Constructor & Destructor Documentation

ConnectionCompression ( gloox::ConnectionDataHandler *  cdh,
gloox::ConnectionBase *  conn,
const gloox::LogSink &  log 
)

Constructs a new ConnectionCompression object.

Parameters
cdhThe ConnectionDataHandler that will be notified of events from this connection
connA 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.
logInstanceThe 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.

Parameters
connA 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.
logInstanceThe log target. Obtain it from ClientBase::logInstance().

Definition at line 32 of file connectioncompression.cpp.

~ConnectionCompression ( )
virtual

Virtual Destructor.

Definition at line 40 of file connectioncompression.cpp.

Member Function Documentation

void setConnectionImpl ( gloox::ConnectionBase *  connection)

Sets the transport connection.

Parameters
connectionThe transport connection to use.

Definition at line 46 of file connectioncompression.cpp.


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