#include <Env.hpp>
|
| Env (JSONNode *conf) |
|
| ~Env (void) |
| Destructor.
|
|
void | cycle (void) |
| A Wevserv cycle:
|
|
void | pre_select (void) |
| Append each master_sockets and their clients to list of fds SELECT must look at.
|
|
void | post_select (void) |
| Refresh all master_sockets and their clients datas (disconnect, new connection, etc..) and parse requests recieved.
|
|
Definition at line 4 of file Env.hpp.
◆ Env()
◆ ~Env()
Destructor.
The destructor call all servers and sockets destructors.
Definition at line 40 of file Env.cpp.
◆ cycle()
A Wevserv cycle:
- append sockets to listen to select list
- select ehem
- refresh and handle requests
Definition at line 55 of file Env.cpp.
◆ post_select()
void Env::post_select |
( |
void |
| ) |
|
Refresh all master_sockets and their clients datas (disconnect, new connection, etc..) and parse requests recieved.
Definition at line 77 of file Env.cpp.
◆ pre_select()
void Env::pre_select |
( |
void |
| ) |
|
Append each master_sockets and their clients to list of fds SELECT must look at.
Definition at line 67 of file Env.cpp.
◆ _allowed_methods
◆ _masters
std::vector<Master *> Env::_masters |
◆ _servers
std::vector<Server *> Env::_servers |
The documentation for this class was generated from the following files: