summaryrefslogtreecommitdiff
path: root/src/session.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2011-07-15 11:24:33 +0200
committerMartin Sustrik <sustrik@250bpm.com>2011-07-15 11:24:33 +0200
commitc8e8f2a24cd339c548e06f75a3cef96454671a85 (patch)
treeb8ea021d0755acedca74563cfc74921634071f83 /src/session.hpp
parentba67eff167e94105b0975166a2192060ab125e58 (diff)
ZMQ_IDENTITY socket option removed
This patch simplifies the whole codebase significantly, including dropping depedency on libuuid. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/session.hpp')
-rw-r--r--src/session.hpp15
1 files changed, 3 insertions, 12 deletions
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.