From cf815e8c785254d97190f223765fbbd19a1e6d52 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Sun, 26 Sep 2010 18:30:03 +0200 Subject: new interfaces for timers; the implementation is not changed yet --- src/io_object.hpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/io_object.hpp') diff --git a/src/io_object.hpp b/src/io_object.hpp index 284e6d1..ba69acc 100644 --- a/src/io_object.hpp +++ b/src/io_object.hpp @@ -56,13 +56,13 @@ namespace zmq void reset_pollin (handle_t handle_); void set_pollout (handle_t handle_); void reset_pollout (handle_t handle_); - void add_timer (); - void cancel_timer (); + void add_timer (int timout_, int id_); + void cancel_timer (int id_); // i_poll_events interface implementation. void in_event (); void out_event (); - void timer_event (); + void timer_event (int id_); private: -- cgit v1.2.3