gloox  1.0
Public Member Functions | List of all members
CompressionDataHandler Class Reference

#include <compressiondatahandler.h>

Inheritance diagram for CompressionDataHandler:
Inheritance graph
[legend]

Public Member Functions

virtual ~CompressionDataHandler ()
virtual void handleCompressedData (const std::string &data)=0
virtual void handleDecompressedData (const std::string &data)=0

Detailed Description

An abstract base class used to receive de/compressed data from a CompressionBase-derived object.

You should not need to use this class directly.

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

Definition at line 34 of file compressiondatahandler.h.

Constructor & Destructor Documentation

virtual ~CompressionDataHandler ( )
inlinevirtual

Virtual Destructor.

Definition at line 40 of file compressiondatahandler.h.

Member Function Documentation

virtual void handleCompressedData ( const std::string &  data)
pure virtual

This function is called when compression is finished.

Parameters
dataThe compressed data.

Implemented in ClientBase.

virtual void handleDecompressedData ( const std::string &  data)
pure virtual

This function is called when decompression is finished.

Parameters
dataThe decompressed data.

Implemented in ClientBase.


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