summaryrefslogtreecommitdiff
path: root/src/pgm_receiver.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/pgm_receiver.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/pgm_receiver.hpp')
-rw-r--r--src/pgm_receiver.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pgm_receiver.hpp b/src/pgm_receiver.hpp
index aa010dd..f66c592 100644
--- a/src/pgm_receiver.hpp
+++ b/src/pgm_receiver.hpp
@@ -52,7 +52,7 @@ namespace zmq
int init (bool udp_encapsulation_, const char *network_);
// i_engine interface implementation.
- void plug (class io_thread_t *io_thread_, struct i_engine_sink *sink_);
+ void plug (class io_thread_t *io_thread_, class session_t *session_);
void unplug ();
void terminate ();
void activate_in ();
@@ -105,7 +105,7 @@ namespace zmq
options_t options;
// Associated session.
- i_engine_sink *sink;
+ class session_t *session;
// Most recently used decoder.
decoder_t *mru_decoder;