sudo and doxygen
This commit is contained in:
25
conexion.h
25
conexion.h
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user