summaryrefslogtreecommitdiff
path: root/src/zmq_decoder.cpp
diff options
context:
space:
mode:
authormalosek <malosek@fastmq.com>2009-09-16 10:35:23 +0200
committermalosek <malosek@fastmq.com>2009-09-16 10:35:23 +0200
commit9fbdcc7940823634d82f51d2b124ccfbca6e9b17 (patch)
tree702bcac75f2d0181a13f2223c4b0faa886be9be3 /src/zmq_decoder.cpp
parent969522bbf55467b6f6e8113be28451d087060843 (diff)
removed reset method from zmq_decoder_t
Diffstat (limited to 'src/zmq_decoder.cpp')
-rw-r--r--src/zmq_decoder.cpp10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/zmq_decoder.cpp b/src/zmq_decoder.cpp
index ccaad0d..53811a1 100644
--- a/src/zmq_decoder.cpp
+++ b/src/zmq_decoder.cpp
@@ -36,16 +36,6 @@ zmq::zmq_decoder_t::~zmq_decoder_t ()
zmq_msg_close (&in_progress);
}
-void zmq::zmq_decoder_t::reset ()
-{
- // Free and reinit message buffer.
- zmq_msg_close (&in_progress);
- zmq_msg_init (&in_progress);
-
- // Restart the FSM.
- next_step (tmpbuf, 1, &zmq_decoder_t::one_byte_size_ready);
-}
-
void zmq::zmq_decoder_t::set_inout (i_inout *destination_)
{
destination = destination_;