]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/include/plaqui/server/receiver.h
Se unlockea() el mutex despues de llamar a connection->run(). Si lo unlockeo()
[z.facultad/75.42/plaqui.git] / Server / include / plaqui / server / receiver.h
index aa06544ff6ec912939fd4cda72d83d3634031fbb..de481f6e77a23548ffc15b31b31cf21374af9b73 100644 (file)
@@ -39,12 +39,19 @@ namespace Server {
        /// Conexión para recibir el estado de una planta.
        class Receiver: public ServerConnection {
 
        /// Conexión para recibir el estado de una planta.
        class Receiver: public ServerConnection {
 
+               private:
+
+                       /**
+                        * Recibe la transmisión.
+                        */
+                       virtual void real_run(void);
+
                public:
 
                        /**
                         * Destructor.
                         */
                public:
 
                        /**
                         * Destructor.
                         */
-                       virtual ~Receiver(void) {}
+                       virtual ~Receiver(void);
 
                        /**
                         * Constructor.
 
                        /**
                         * Constructor.
@@ -54,11 +61,6 @@ namespace Server {
                         */
                        Receiver(int port = 7528, std::string host = "localhost");
 
                         */
                        Receiver(int port = 7528, std::string host = "localhost");
 
-                       /**
-                        * Recibe la transmisión.
-                        */
-                       virtual void run(void);
-
        };
 
 }
        };
 
 }