summaryrefslogtreecommitdiff
path: root/src/ipc_connecter.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/ipc_connecter.hpp')
-rw-r--r--src/ipc_connecter.hpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ipc_connecter.hpp b/src/ipc_connecter.hpp
index e6c419d..a642266 100644
--- a/src/ipc_connecter.hpp
+++ b/src/ipc_connecter.hpp
@@ -45,9 +45,12 @@ namespace xs
// connection process.
ipc_connecter_t (xs::io_thread_t *io_thread_,
xs::session_base_t *session_, const options_t &options_,
- const char *address_, bool delay_);
+ bool delay_);
~ipc_connecter_t ();
+ // Set address to connect to.
+ int set_address (const char *addr_);
+
private:
// ID of the timer used to delay the reconnection.
@@ -72,9 +75,6 @@ namespace xs
// Returns the currently used interval
int get_new_reconnect_ivl ();
- // Set address to connect to.
- int set_address (const char *addr_);
-
// Open IPC connecting socket. Returns -1 in case of error,
// 0 if connect was successfull immediately. Returns -1 with
// EAGAIN errno if async connect was launched.