#ifndef PLAQUI_TCPSERVER_H
#define PLAQUI_TCPSERVER_H
-#include "plaqui/server/controlserver.h"
-#include "plaqui/server/transmitter.h"
+#include "plaqui/server/runnable.h"
+#include "plaqui/server/connection.h"
#include <socket++/sockinet.h>
-#include <string>
#include <list>
namespace PlaQui {
private:
+ /// Cantidad máxima de conexiones pendientes.
+ static const unsigned MAX_PENDING_CONNECTIONS;
+
/// Lista de conexiones de control.
- typedef std::list<Connnection*> ConnectionList;
+ typedef std::list<Connection*> ConnectionList;
// Atributos.
/**
* Destructor.
*/
- virtual ~TCPServer(void) {}
+ virtual ~TCPServer(void);
/**
* Constructor.