8 #ifndef BOOSTER_AIO_REACTOR_H 9 #define BOOSTER_AIO_REACTOR_H 10 #include <booster/config.h> 11 #include <booster/aio/types.h> 12 #include <booster/auto_ptr_inc.h> 30 void operator=(reactor
const &);
33 static const int use_default = 0;
34 static const int use_select = 1;
35 static const int use_poll = 2;
36 static const int use_epoll = 3;
37 static const int use_dev_poll = 4;
38 static const int use_kqueue = 5;
39 static const int use_max = use_kqueue;
52 reactor(
int hint = use_default);
100 int poll(
event *events,
int n,
int timeout);
114 std::string name()
const;
116 std::auto_ptr<reactor_impl> impl_;
This class is an abstraction of platform dependent polling API.
Definition: reactor.h:28
the struct that collects multiple event types for polling.
Definition: types.h:86
structure that defines output events
Definition: reactor.h:42
The lightweight object that carries a error code information and its category.
Definition: system_error.h:83
unspecified native_type
Definition: types.h:29
Booster library namespace. The library that implements Boost Like API in ABI backward compatible way...
Definition: application.h:23