From 2cef05d86976784f4bc1083cb0fa548e267ac132 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Tue, 15 Dec 2009 17:49:40 +0100 Subject: reconnection mechanism added to tcp transport --- src/zmq_engine.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/zmq_engine.hpp') diff --git a/src/zmq_engine.hpp b/src/zmq_engine.hpp index 8d9e4b9..63e1539 100644 --- a/src/zmq_engine.hpp +++ b/src/zmq_engine.hpp @@ -37,7 +37,7 @@ namespace zmq public: zmq_engine_t (class io_thread_t *parent_, fd_t fd_, - const options_t &options_); + const options_t &options_, bool reconnect_, const char *address_); ~zmq_engine_t (); // i_engine interface implementation. @@ -69,6 +69,9 @@ namespace zmq options_t options; + bool reconnect; + std::string address; + zmq_engine_t (const zmq_engine_t&); void operator = (const zmq_engine_t&); }; -- cgit v1.2.3