#ifndef PLAQUI_RECEIVER_H
#define PLAQUI_RECEIVER_H
-#include "plaqui/server/serverconnection.h"
+#include "plaqui/server/connection.h"
#include <socket++/sockinet.h>
#include <string>
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.
*/
- virtual ~Receiver(void) {}
+ virtual ~Receiver(void);
/**
* Constructor.
*/
Receiver(int port = 7528, std::string host = "localhost");
- /**
- * Recibe la transmisión.
- */
- virtual void run(void);
-
};
}