From 9d96e0037a9d027fd286f771fa2a8db5def485c8 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Wed, 13 Oct 2010 10:09:46 +0200 Subject: 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 --- src/named_session.hpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/named_session.hpp') diff --git a/src/named_session.hpp b/src/named_session.hpp index 335b4a9..9c8f814 100644 --- a/src/named_session.hpp +++ b/src/named_session.hpp @@ -38,10 +38,7 @@ namespace zmq const blob_t &name_); ~named_session_t (); - // i_inout interface implementation. - void detach (); - - // Handle events from session_t base class. + // Handlers for events from session base class. void attached (const blob_t &peer_identity_); void detached (); -- cgit v1.2.3