summaryrefslogtreecommitdiff
path: root/src/i_engine.hpp
diff options
context:
space:
mode:
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;