X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/802f79cdb0d688127b8a639cd3173d801a1466cd..f5a1e732bf3907cabd004932aba3256b31d9d282:/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 4bfda77..5b8c635 100644 --- a/Server/include/plaqui/server/receiver.h +++ b/Server/include/plaqui/server/receiver.h @@ -39,12 +39,19 @@ namespace Server { /// Conexión para recibir el estado de una planta. 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); - }; }