8 #ifndef BOOSTER_AIO_BASIC_IO_DEVICE_H
9 #define BOOSTER_AIO_BASIC_IO_DEVICE_H
11 #include <booster/aio/types.h>
12 #include <booster/hold_ptr.h>
13 #include <booster/callback.h>
14 #include <booster/noncopyable.h>
54 bool has_io_service();
66 void reset_io_service();
129 void set_non_blocking(
bool nonblocking);
157 bool nonblocking_was_set_;
This is a basic object that allows execution of asynchronous operations.
Definition: basic_io_device.h:36
Definition: callback.h:18
The lightweight object that carries a error code information and its category.
Definition: system_error.h:83
unspecified native_type
Definition: types.h:29
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