diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2010-10-13 10:09:46 +0200 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2010-10-13 10:09:46 +0200 |
commit | 9d96e0037a9d027fd286f771fa2a8db5def485c8 (patch) | |
tree | 8fe87b67d46182651a2fb54675ea102e220974f5 /src/transient_session.cpp | |
parent | 5ae878b891fa5189f5202f1577d22bdb9ba51f77 (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.cpp')
-rw-r--r-- | src/transient_session.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/transient_session.cpp b/src/transient_session.cpp index 6711bc2..ff4b978 100644 --- a/src/transient_session.cpp +++ b/src/transient_session.cpp @@ -29,6 +29,10 @@ zmq::transient_session_t::~transient_session_t () { } +void zmq::transient_session_t::attached (const blob_t &peer_identity_) +{ +} + void zmq::transient_session_t::detached () { // There's no way to reestablish a transient session. Tear it down. |