mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-07 14:37:36 +01:00
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>
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user