summaryrefslogtreecommitdiff
path: root/src/encoder.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-07-24 18:25:30 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-07-24 18:25:30 +0200
commit7c1dca546d9e49e7af372e4fff9e6a87058a7f12 (patch)
treef00c6760dcd14b944457928405e7e2eca23b1ff8 /src/encoder.hpp
parentf716b571baf59c1b622c7666bb8bf2905126a3d4 (diff)
Session classes merged into a single class
Removal of ZMQ_IDENTITY resulted in various session classes doing almost the same thing. This patch merges the classes into a single class. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/encoder.hpp')
-rw-r--r--src/encoder.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/encoder.hpp b/src/encoder.hpp
index 4bc22ce..b8784a3 100644
--- a/src/encoder.hpp
+++ b/src/encoder.hpp
@@ -163,14 +163,14 @@ namespace zmq
encoder_t (size_t bufsize_);
~encoder_t ();
- void set_sink (struct i_engine_sink *sink_);
+ void set_session (class session_t *session_);
private:
bool size_ready ();
bool message_ready ();
- struct i_engine_sink *sink;
+ class session_t *session;
msg_t in_progress;
unsigned char tmpbuf [10];