diff options
Diffstat (limited to 'docs/tutorials/015/CompressorBase.h')
-rw-r--r-- | docs/tutorials/015/CompressorBase.h | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/docs/tutorials/015/CompressorBase.h b/docs/tutorials/015/CompressorBase.h deleted file mode 100644 index 1a78e0736da..00000000000 --- a/docs/tutorials/015/CompressorBase.h +++ /dev/null @@ -1,30 +0,0 @@ -// $Id$ - -#ifndef COMPRESSOR_BASE_H -#define COMPRESSOR_BASE_H - -#include "Protocol_Task.h" - -#include <zlib.h> - -class CompressorBase -{ -public: - CompressorBase(); - virtual ~CompressorBase() = 0; - - // This is called when the compressor is on the - // downstream side. We'll take the message, compress it - // and move it along to the next module. - virtual int send (ACE_Message_Block *message, - ACE_Time_Value *timeout, - ACE_Message_Block*& compressed) = 0; - - // This one is called on the upstream side. No surprise: we - // decompress the data and send it on up the stream. - virtual int recv (ACE_Message_Block *message, - ACE_Time_Value *timeout, - ACE_Message_Block*& decompressed) = 0; -}; - -#endif /* COMPRESSOR_BASE_H */ |