Route * choose_route(string uri)
Choose the route an uri asked to the server.
std::vector< Master * > get_sockets(JSONNode *server)
Create server's defined sockets:
Master * create_master(string str)
Master socket safe creation.
std::vector< ip_port_t > _listens
The list of listens the server which are linked to the server.
string _name
The server name.
std::map< string, Route * > _routes
The server's routings with a route object as object and his location as key.