13 #ifndef CONNECTIONCOMPRESSION_H__
14 #define CONNECTIONCOMPRESSION_H__
18 #include "connectionbase.h"
19 #include "connectiondatahandler.h"
20 #include "compressiondatahandler.h"
27 class CompressionDefault;
79 virtual bool send(
const std::string& data );
85 virtual void disconnect();
88 virtual void cleanup();
91 virtual void getStatistics(
long int& totalIn,
long int& totalOut );
94 virtual void handleReceivedData(
const ConnectionBase* connection,
const std::string& data );
106 virtual void handleCompressedData(
const std::string& data );
109 virtual void handleDecompressedData(
const std::string& data );
122 #endif // CONNECTIONCOMPRESSION_H__