]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/include/plaqui/server/tcpserver.h
Se termina de migrar lo que habia hecho al nuevo modelo cliente-servidor, pero
[z.facultad/75.42/plaqui.git] / Server / include / plaqui / server / tcpserver.h
index b37984428858668a09da3b2a4a7c0486496d0280..b3ecfa6c25c1b0f392103b592e360560eb8570bd 100644 (file)
 #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 {
@@ -49,7 +48,7 @@ namespace Server {
                private:
 
                        /// Lista de conexiones de control.
-                       typedef std::list<Connnection*> ConnectionList;
+                       typedef std::list<Connection*> ConnectionList;
 
                // Atributos.
 
@@ -86,7 +85,7 @@ namespace Server {
                        /**
                         * Destructor.
                         */
-                       virtual ~TCPServer(void) {}
+                       virtual ~TCPServer(void);
 
                        /**
                         * Constructor.