Introduce abstract interface for message encoder/decoder

This commit is contained in:
Martin Hurton
2012-09-04 19:44:20 +02:00
parent a224c97329
commit 8672f5829e
6 changed files with 142 additions and 21 deletions

View File

@@ -29,6 +29,7 @@
#include "err.hpp"
#include "msg.hpp"
#include "i_decoder.hpp"
#include "stdint.hpp"
namespace zmq
@@ -47,7 +48,7 @@ namespace zmq
// This class implements the state machine that parses the incoming buffer.
// Derived class should implement individual state machine actions.
template <typename T> class decoder_base_t
template <typename T> class decoder_base_t : public i_decoder
{
public: