]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/include/plaqui/server/receiver.h
Pocos cambios a la vista del "usuario":
[z.facultad/75.42/plaqui.git] / Server / include / plaqui / server / receiver.h
index aa06544ff6ec912939fd4cda72d83d3634031fbb..5b8c6351059ae0eb602a93fbe2c96475e0d094c8 100644 (file)
@@ -28,7 +28,7 @@
 #ifndef PLAQUI_RECEIVER_H
 #define PLAQUI_RECEIVER_H
 
 #ifndef PLAQUI_RECEIVER_H
 #define PLAQUI_RECEIVER_H
 
-#include "plaqui/server/serverconnection.h"
+#include "plaqui/server/connection.h"
 #include <socket++/sockinet.h>
 #include <string>
 
 #include <socket++/sockinet.h>
 #include <string>
 
@@ -37,14 +37,21 @@ namespace PlaQui {
 namespace Server {
 
        /// Conexión para recibir el estado de una planta.
 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.
                         */
 
                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);
-
        };
 
 }
        };
 
 }