#ifndef PLAQUI_RECEIVER_H
#define PLAQUI_RECEIVER_H
-#include "plaqui/server/connection.h"
+#include "plaqui/server/serverconnection.h"
#include <socket++/sockinet.h>
#include <string>
namespace Server {
/// Conexión para recibir el estado de una planta.
- class Receiver: public Connection {
+ class Receiver: public ServerConnection {
+
+ 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);
-
};
}