summaryrefslogtreecommitdiff
path: root/src/tcp_connecter.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/tcp_connecter.hpp')
-rw-r--r--src/tcp_connecter.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tcp_connecter.hpp b/src/tcp_connecter.hpp
index 2b946a1..6790408 100644
--- a/src/tcp_connecter.hpp
+++ b/src/tcp_connecter.hpp
@@ -31,7 +31,7 @@
namespace xs
{
- class poller_base_t;
+ class io_thread_t;
class session_base_t;
class tcp_connecter_t : public own_t, public io_object_t
@@ -40,7 +40,7 @@ namespace xs
// If 'delay' is true connecter first waits for a while, then starts
// connection process.
- tcp_connecter_t (xs::poller_base_t *io_thread_,
+ tcp_connecter_t (xs::io_thread_t *io_thread_,
xs::session_base_t *session_, const options_t &options_,
const char *address_, bool delay_);
~tcp_connecter_t ();
@@ -91,7 +91,7 @@ namespace xs
fd_t s;
// Handle corresponding to the listening socket or NULL if the socket
- // is not registered with the poller.
+ // is not registered with the I/O thread.
handle_t handle;
// If true, connecter is waiting a while before trying to connect.