#include <ot_lib.h>
Public Member Functions | |
ot_messageCodecGZip (void) | |
Constructor. | |
virtual | ~ot_messageCodecGZip (void) |
Destructor. | |
void | encodeDataStream (ostream &s, const ot_map &msg) const |
auto_ptr< ot_map > | decodeDataStream (istream &s) const |
Gzip compressed codec
ot_lib::ot_messageCodecGZip::ot_messageCodecGZip | ( | void | ) |
Constructor.
virtual ot_lib::ot_messageCodecGZip::~ot_messageCodecGZip | ( | void | ) | [virtual] |
Destructor.
void ot_lib::ot_messageCodecGZip::encodeDataStream | ( | ostream & | s, | |
const ot_map & | msg | |||
) | const [virtual] |
Encode a binary stream from a sequence
s | Writing stream | |
msg | The message to encode |
Implements ot_lib::ot_messageCodec.
auto_ptr<ot_map> ot_lib::ot_messageCodecGZip::decodeDataStream | ( | istream & | s | ) | const [virtual] |
Decode a binary stream from a sequence
s | Reading stream | |
msg | The message decoded |
Implements ot_lib::ot_messageCodec.