diff options
Diffstat (limited to 'src/zmq_connecter.hpp')
-rw-r--r-- | src/zmq_connecter.hpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/zmq_connecter.hpp b/src/zmq_connecter.hpp index e308502..c443ce8 100644 --- a/src/zmq_connecter.hpp +++ b/src/zmq_connecter.hpp @@ -36,7 +36,7 @@ namespace zmq public: zmq_connecter_t (class io_thread_t *parent_, socket_base_t *owner_, - const options_t &options_, const char *session_name_); + const options_t &options_, const char *session_name_, bool wait_); ~zmq_connecter_t (); // Set IP address to connect to. @@ -66,6 +66,9 @@ namespace zmq // contains valid value. bool handle_valid; + // If true, connecter is waiting a while before trying to connect. + bool wait; + // Associated socket options. options_t options; |