X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/43203fc1132e402ab5751167ed64196f10f5dedf..34fb46485db0fb44f8dcc532866d988f8e54caa2:/Server/include/plaqui/server/receiver.h diff --git a/Server/include/plaqui/server/receiver.h b/Server/include/plaqui/server/receiver.h index aa06544..5b8c635 100644 --- a/Server/include/plaqui/server/receiver.h +++ b/Server/include/plaqui/server/receiver.h @@ -28,7 +28,7 @@ #ifndef PLAQUI_RECEIVER_H #define PLAQUI_RECEIVER_H -#include "plaqui/server/serverconnection.h" +#include "plaqui/server/connection.h" #include #include @@ -37,14 +37,21 @@ namespace PlaQui { namespace Server { /// Conexión para recibir el estado de una planta. - class Receiver: public ServerConnection { + class Receiver: public Connection { + + private: + + /** + * Recibe la transmisión. + */ + virtual void real_run(void); public: /** * Destructor. */ - virtual ~Receiver(void) {} + virtual ~Receiver(void); /** * Constructor. @@ -54,11 +61,6 @@ namespace Server { */ Receiver(int port = 7528, std::string host = "localhost"); - /** - * Recibe la transmisión. - */ - virtual void run(void); - }; }