sudo and doxygen

This commit is contained in:
2020-06-01 23:23:23 +02:00
parent 3387aa7ca1
commit fda48edaf0
9 changed files with 237 additions and 23 deletions

View File

@@ -7,11 +7,26 @@ using namespace std;
class conexion
{
public:
conexion(config_reader &conf);
virtual void start_server();
/**
* @brief conexion
* Object that launch the server and start the sessions
* @param conf Configuration file
*/
conexion(config_reader &conf);
/**
* @brief start_server
* Start the server
*/
virtual void start_server();
protected:
data_acces* data;
int create_socket(int port);
config_reader* config;
data_acces* data;
/**
* @brief create_socket
* Create the server socket
* @param port Port to listen the server
* @return File descritor to listen the new conexions
*/
int create_socket(int port);
config_reader* config;
};
#endif // CONEXION_H