summaryrefslogtreecommitdiff
path: root/src/zmq_decoder.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-03-20 10:58:59 +0100
committerMartin Sustrik <sustrik@250bpm.com>2010-03-20 10:58:59 +0100
commitdfdaff5eba1e6980adb3326c119d2070d0ad42bb (patch)
tree31c110b8dc40f1f21fa5c2121c1e13d00a70884a /src/zmq_decoder.hpp
parentcbaf10978a8ffa98d98161aeec8d020c517b127b (diff)
XREP-style prefixing/trimming messages removed
Diffstat (limited to 'src/zmq_decoder.hpp')
-rw-r--r--src/zmq_decoder.hpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/zmq_decoder.hpp b/src/zmq_decoder.hpp
index 2efed2a..c1e3e3e 100644
--- a/src/zmq_decoder.hpp
+++ b/src/zmq_decoder.hpp
@@ -33,17 +33,11 @@ namespace zmq
{
public:
- // If prefix is not NULL, it will be glued to the beginning of every
- // decoded message.
zmq_decoder_t (size_t bufsize_);
~zmq_decoder_t ();
void set_inout (struct i_inout *destination_);
- // Once called, all decoded messages will be prefixed by the specified
- // prefix.
- void add_prefix (const blob_t &prefix_);
-
private:
bool one_byte_size_ready ();
@@ -55,8 +49,6 @@ namespace zmq
unsigned char tmpbuf [8];
::zmq_msg_t in_progress;
- blob_t prefix;
-
zmq_decoder_t (const zmq_decoder_t&);
void operator = (const zmq_decoder_t&);
};