summaryrefslogtreecommitdiff
path: root/src/zmq_connecter.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@fastmq.commkdir>2009-12-15 17:49:40 +0100
committerMartin Sustrik <sustrik@fastmq.commkdir>2009-12-15 17:49:40 +0100
commit2cef05d86976784f4bc1083cb0fa548e267ac132 (patch)
tree3c829a1bbf9f31742fe09111f8e8f1e35ded017c /src/zmq_connecter.hpp
parent14b112301e62af5115ab870d97ae448c2e3deddb (diff)
reconnection mechanism added to tcp transport
Diffstat (limited to 'src/zmq_connecter.hpp')
-rw-r--r--src/zmq_connecter.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/zmq_connecter.hpp b/src/zmq_connecter.hpp
index c443ce8..acd3352 100644
--- a/src/zmq_connecter.hpp
+++ b/src/zmq_connecter.hpp
@@ -40,7 +40,7 @@ namespace zmq
~zmq_connecter_t ();
// Set IP address to connect to.
- int set_address (const char *addr_);
+ int set_address (const char *address_);
private:
@@ -75,6 +75,9 @@ namespace zmq
// Name of the session associated with the connecter.
std::string session_name;
+ // Address to connect to.
+ std::string address;
+
zmq_connecter_t (const zmq_connecter_t&);
void operator = (const zmq_connecter_t&);
};