summaryrefslogtreecommitdiff
path: root/src/decoder.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-09-15 10:00:23 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-09-15 10:00:23 +0200
commitf78d9b6bfca13e298c29fadabbbc870b37a0a573 (patch)
tree89b110d56183ef2958b894c26dfe2e5fea980537 /src/decoder.cpp
parent78b02d142e82015a2146b7d40f7e0a729ad0e89b (diff)
Session class separated into socket-type-specific sessions
This is a preliminary patch allowing for socket-type-specific functionality in the I/O thread. For example, message format can be checked asynchronously and misbehaved connections dropped straight away. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/decoder.cpp')
-rw-r--r--src/decoder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/decoder.cpp b/src/decoder.cpp
index 01ce0bb..9e93b73 100644
--- a/src/decoder.cpp
+++ b/src/decoder.cpp
@@ -22,7 +22,7 @@
#include <string.h>
#include "decoder.hpp"
-#include "session.hpp"
+#include "session_base.hpp"
#include "wire.hpp"
#include "err.hpp"
@@ -44,7 +44,7 @@ zmq::decoder_t::~decoder_t ()
errno_assert (rc == 0);
}
-void zmq::decoder_t::set_session (session_t *session_)
+void zmq::decoder_t::set_session (session_base_t *session_)
{
session = session_;
}