summaryrefslogtreecommitdiff
path: root/src/io_object.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-09-26 18:30:03 +0200
committerMartin Sustrik <sustrik@250bpm.com>2010-09-26 18:30:03 +0200
commitcf815e8c785254d97190f223765fbbd19a1e6d52 (patch)
tree5b76f6ad2d5e71eab8491957321834b7b5183e7b /src/io_object.hpp
parentbe79a9fbc26a55c90b693485f69dfd17f710cb13 (diff)
new interfaces for timers; the implementation is not changed yet
Diffstat (limited to 'src/io_object.hpp')
-rw-r--r--src/io_object.hpp6
1 files changed, 3 insertions, 3 deletions
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: