summaryrefslogtreecommitdiff
path: root/src/transient_session.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-10-13 10:09:46 +0200
committerMartin Sustrik <sustrik@250bpm.com>2010-10-13 10:09:46 +0200
commit9d96e0037a9d027fd286f771fa2a8db5def485c8 (patch)
tree8fe87b67d46182651a2fb54675ea102e220974f5 /src/transient_session.hpp
parent5ae878b891fa5189f5202f1577d22bdb9ba51f77 (diff)
Clean-up of the code related to attaching/detaching engines to sessions.
Session base class now handles the engine events exclusively. It notifies derived session types using dedicated "attached" and "detached" events. Couple of bugs was fixed along the way. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/transient_session.hpp')
-rw-r--r--src/transient_session.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/transient_session.hpp b/src/transient_session.hpp
index 2a7f3d5..d244982 100644
--- a/src/transient_session.hpp
+++ b/src/transient_session.hpp
@@ -38,7 +38,8 @@ namespace zmq
private:
- // Hook into session's disconnection mechanism.
+ // Handlers for events from session base class.
+ void attached (const blob_t &peer_identity_);
void detached ();
transient_session_t (const transient_session_t&);