summaryrefslogtreecommitdiff
path: root/src/xrep.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/xrep.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/xrep.hpp')
-rw-r--r--src/xrep.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xrep.hpp b/src/xrep.hpp
index d8723db..e5ab895 100644
--- a/src/xrep.hpp
+++ b/src/xrep.hpp
@@ -37,6 +37,7 @@ namespace xs
class ctx_t;
class pipe_t;
+ class poller_base_t;
// TODO: This class uses O(n) scheduling. Rewrite it to use O(1) algorithm.
class xrep_t :
@@ -108,7 +109,7 @@ namespace xs
{
public:
- xrep_session_t (xs::io_thread_t *io_thread_, bool connect_,
+ xrep_session_t (xs::poller_base_t *io_thread_, bool connect_,
socket_base_t *socket_, const options_t &options_,
const char *protocol_, const char *address_);
~xrep_session_t ();