X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/6e0194f46ac77c18bfeabf84ef94a32f23e41073..ab9300aaf1217f0c3b45dd5f1f1fdc1c5e5bd1be:/Server/include/plaqui/server/receiver.h?ds=sidebyside diff --git a/Server/include/plaqui/server/receiver.h b/Server/include/plaqui/server/receiver.h index 91c3014..de481f6 100644 --- a/Server/include/plaqui/server/receiver.h +++ b/Server/include/plaqui/server/receiver.h @@ -28,21 +28,30 @@ #ifndef PLAQUI_RECEIVER_H #define PLAQUI_RECEIVER_H -#include "plaqui/server/connection.h" +#include "plaqui/server/serverconnection.h" #include #include -namespace Plaqui { +namespace PlaQui { + +namespace Server { /// Conexión para recibir el estado de una planta. - class Receiver: public Connection { + class Receiver: public ServerConnection { + + private: + + /** + * Recibe la transmisión. + */ + virtual void real_run(void); public: /** * Destructor. */ - virtual ~Receiver(void) {} + virtual ~Receiver(void); /** * Constructor. @@ -52,13 +61,10 @@ namespace Plaqui { */ Receiver(int port = 7528, std::string host = "localhost"); - /** - * Recibe la transmisión. - */ - virtual void run(void); - }; } +} + #endif // PLAQUI_RECEIVER_H