From c8e8f2a24cd339c548e06f75a3cef96454671a85 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Fri, 15 Jul 2011 11:24:33 +0200 Subject: ZMQ_IDENTITY socket option removed This patch simplifies the whole codebase significantly, including dropping depedency on libuuid. Signed-off-by: Martin Sustrik --- src/session.hpp | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) (limited to 'src/session.hpp') diff --git a/src/session.hpp b/src/session.hpp index 4c17930..60aa7c5 100644 --- a/src/session.hpp +++ b/src/session.hpp @@ -24,7 +24,6 @@ #include "own.hpp" #include "i_engine.hpp" #include "io_object.hpp" -#include "blob.hpp" #include "pipe.hpp" namespace zmq @@ -64,27 +63,19 @@ namespace zmq // the termination process when session is about to be detached from // the peer. If it returns false, session will be terminated. // To be overloaded by the derived session type. - virtual bool xattached (const blob_t &peer_identity_) = 0; + virtual bool xattached () = 0; virtual bool xdetached () = 0; - // Returns true if there is an engine attached to the session. - bool has_engine (); - - // Allows derives session types to (un)register session names. - bool register_session (const blob_t &name_, class session_t *session_); - void unregister_session (const blob_t &name_); - ~session_t (); private: - bool attached (const blob_t &peer_identity_); + bool attached (); void detached (); // Handlers for incoming commands. void process_plug (); - void process_attach (struct i_engine *engine_, - const blob_t &peer_identity_); + void process_attach (struct i_engine *engine_); void process_term (int linger_); // i_poll_events handlers. -- cgit v1.2.3