summaryrefslogtreecommitdiff
path: root/src/io_object.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:09:58 +0900
committerMartin Sustrik <sustrik@250bpm.com>2012-02-16 10:09:58 +0900
commit24cf53ad6eaa0eb9a873b909e932d95417f52d2c (patch)
tree0d2f19a76536d09d0fe6e22874ce572eda70eccd /src/io_object.hpp
parent0641ffa5e9588dd7daaf389c40a213994fe4b1b1 (diff)
io_thread_t merged with poller_base_t
The relationship of these two classes was 1:1. Thus one of them was obsolete. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/io_object.hpp')
-rw-r--r--src/io_object.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/io_object.hpp b/src/io_object.hpp
index 0abd457..0749ceb 100644
--- a/src/io_object.hpp
+++ b/src/io_object.hpp
@@ -30,8 +30,6 @@
namespace xs
{
- class io_thread_t;
-
// Simple base class for objects that live in I/O threads.
// It makes communication with the poller object easier and
// makes defining unneeded event handlers unnecessary.
@@ -40,12 +38,12 @@ namespace xs
{
public:
- io_object_t (xs::io_thread_t *io_thread_ = NULL);
+ io_object_t (xs::poller_base_t *io_thread_ = NULL);
~io_object_t ();
// When migrating an object from one I/O thread to another, first
// unplug it, then migrate it, then plug it to the new thread.
- void plug (xs::io_thread_t *io_thread_);
+ void plug (xs::poller_base_t *io_thread_);
void unplug ();
protected: