17#ifndef YHttpServerSockets_h
18#define YHttpServerSockets_h
27 typedef std::vector<int> Set;
29 Set read() {
return _read;}
30 Set write() {
return _write;}
31 Set exception() {
return _exception;}
33 void add_read(
int s) {_read.push_back(s);}
34 void add_write(
int s) {_write.push_back(s);}
35 void add_exception(
int s) {_exception.push_back(s);}
37 bool empty() {
return _read.empty() && _write.empty() && _exception.empty();}
Definition YHttpServerSockets.h:23