summaryrefslogtreecommitdiff
path: root/src/zmq_engine.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zmq_engine.hpp')
-rw-r--r--src/zmq_engine.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/zmq_engine.hpp b/src/zmq_engine.hpp
index bdd2a5d..363eaaf 100644
--- a/src/zmq_engine.hpp
+++ b/src/zmq_engine.hpp
@@ -39,7 +39,6 @@ namespace zmq
public:
zmq_engine_t (fd_t fd_, const options_t &options_);
- ~zmq_engine_t ();
// i_engine interface implementation.
void plug (class io_thread_t *io_thread_, struct i_inout *inout_);
@@ -54,6 +53,10 @@ namespace zmq
private:
+ // Destructor is not to be used directly.
+ // Use 'terminate' function instead.
+ ~zmq_engine_t ();
+
// Function to handle network disconnections.
void error ();
@@ -72,6 +75,8 @@ namespace zmq
options_t options;
+ bool plugged;
+
zmq_engine_t (const zmq_engine_t&);
void operator = (const zmq_engine_t&);
};