X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/6e0194f46ac77c18bfeabf84ef94a32f23e41073..f27c218d18ebf7198e07249aca1eed625da914fd:/Server/include/plaqui/server/controlclient.h diff --git a/Server/include/plaqui/server/controlclient.h b/Server/include/plaqui/server/controlclient.h index 3b61edc..faf3a27 100644 --- a/Server/include/plaqui/server/controlclient.h +++ b/Server/include/plaqui/server/controlclient.h @@ -31,15 +31,26 @@ #include "plaqui/server/connection.h" #include -namespace Plaqui { +namespace PlaQui { + +namespace Server { /// Conexión para enviar comandos de control a una planta. class ControlClient: public Connection { + // Atributos. + + private: + + /// Mutex para el socket. + Glib::Mutex socket_mutex; + + // Métodos. + private: /** - * Atiende la conexión. + * Realiza la conexión al servidor. */ virtual void real_run(void); @@ -48,7 +59,7 @@ namespace Plaqui { /** * Destructor. */ - virtual ~ControlClient(void) {} + virtual ~ControlClient(void); /** * Constructor. @@ -63,4 +74,6 @@ namespace Plaqui { } +} + #endif // PLAQUI_CONTROLCLIENT_H