summaryrefslogtreecommitdiff
path: root/src/i_engine.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-08-14 08:37:38 +0200
committerMartin Sustrik <sustrik@250bpm.com>2010-08-25 15:39:20 +0200
commit43e34d028115c43577713c0c3e1f0c33b0aac94a (patch)
tree05f1831e132a40a7f4a58d65b948786bee1571f1 /src/i_engine.hpp
parent45f83d78a56f4b3a812c87fec03a75558445b2ab (diff)
engine leak fixed; pgm compilation fixed
Diffstat (limited to 'src/i_engine.hpp')
-rw-r--r--src/i_engine.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/i_engine.hpp b/src/i_engine.hpp
index 0ba94f5..e104a9c 100644
--- a/src/i_engine.hpp
+++ b/src/i_engine.hpp
@@ -34,6 +34,10 @@ namespace zmq
// Unplug the engine from the session.
virtual void unplug () = 0;
+ // Terminate and deallocate the engine. Note that 'detached'
+ // events in not fired on termination.
+ virtual void terminate () = 0;
+
// This method is called by the session to signalise that more
// messages can be written to the pipe.
virtual void activate_in () = 0;