]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/include/plaqui/server/receiver.h
* Se agrega un Tanque al ejemplo, y ANDA!!!!
[z.facultad/75.42/plaqui.git] / Server / include / plaqui / server / receiver.h
index 4bfda778309d51175f145fe04487b0fa990c6e9f..5b8c6351059ae0eb602a93fbe2c96475e0d094c8 100644 (file)
@@ -39,12 +39,19 @@ namespace Server {
        /// Conexión para recibir el estado de una planta.
        class Receiver: public Connection {
 
        /// 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.
                         */
                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);
-
        };
 
 }
        };
 
 }