new interfaces for timers; the implementation is not changed yet

This commit is contained in:
Martin Sustrik
2010-09-26 18:30:03 +02:00
parent be79a9fbc2
commit cf815e8c78
18 changed files with 48 additions and 42 deletions

View File

@@ -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: