summaryrefslogtreecommitdiff
path: root/src/stream_engine.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:10:49 +0900
committerMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:10:49 +0900
commit50f225a04422abf64545f5eb36592d8c990b0ae4 (patch)
tree1ad0396c3f32b4e89f80d4abdbf0d9ced6a1e55c /src/stream_engine.cpp
parente5e9852181947a9c41db9ff3c47e94d66a933161 (diff)
poller_base_t renamed to io_thread_t
Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/stream_engine.cpp')
-rw-r--r--src/stream_engine.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/stream_engine.cpp b/src/stream_engine.cpp
index 7d69848..71032f4 100644
--- a/src/stream_engine.cpp
+++ b/src/stream_engine.cpp
@@ -36,7 +36,7 @@
#include <new>
#include "stream_engine.hpp"
-#include "poller_base.hpp"
+#include "io_thread.hpp"
#include "session_base.hpp"
#include "config.hpp"
#include "err.hpp"
@@ -103,7 +103,7 @@ xs::stream_engine_t::~stream_engine_t ()
}
}
-void xs::stream_engine_t::plug (poller_base_t *io_thread_,
+void xs::stream_engine_t::plug (io_thread_t *io_thread_,
session_base_t *session_)
{
xs_assert (!plugged);
@@ -117,7 +117,7 @@ void xs::stream_engine_t::plug (poller_base_t *io_thread_,
decoder.set_session (session_);
session = session_;
- // Connect to I/O threads poller object.
+ // Connect to the io_thread object.
io_object_t::plug (io_thread_);
handle = add_fd (s);
set_pollin (handle);
@@ -135,7 +135,7 @@ void xs::stream_engine_t::unplug ()
// Cancel all fd subscriptions.
rm_fd (handle);
- // Disconnect from I/O threads poller object.
+ // Disconnect from the io_thread object.
io_object_t::unplug ();
// Disconnect from session object.