8 #ifndef BOOSTER_AIO_DEADLINE_TIMER_H
9 #define BOOSTER_AIO_DEADLINE_TIMER_H
11 #include <booster/config.h>
12 #include <booster/posix_time.h>
13 #include <booster/hold_ptr.h>
14 #include <booster/callback.h>
15 #include <booster/aio/types.h>
16 #include <booster/noncopyable.h>
48 void reset_io_service();
55 void expires_from_now(
ptime t);
59 ptime expires_from_now();
66 void expires_at(
ptime t);
A timer object.
Definition: deadline_timer.h:24
Definition: callback.h:18
This class represents POSIX time.
Definition: posix_time.h:26
this is the central event loop that dispatches all requests.
Definition: io_service.h:37
This class makes impossible to copy any class derived from this one.
Definition: noncopyable.h:15