]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/include/plaqui/server/serverconnection.h
Se agregan mas cosas nuevas, todavia no compila.
[z.facultad/75.42/plaqui.git] / Server / include / plaqui / server / serverconnection.h
index 91fa37f8f44f756355f30265c811f3a3950884d5..14443432dbe3bf382ed8b27d01f8b82eb5d42d10 100644 (file)
@@ -62,7 +62,21 @@ namespace Server {
                        /**
                         * Destructor.
                         */
-                       virtual ~ServerConnection(void) {}
+                       virtual ~ServerConnection(void);
+
+                       /**
+                        * Constructor.
+                        *
+                        * \param socket Descriptor de socket a usar en la conexión.
+                        */
+                       ServerConnection(const sockbuf::sockdesc& sd);
+
+                       /**
+                        * Constructor.
+                        *
+                        * \param type Tipo de socket a usar.
+                        */
+                       ServerConnection(sockbuf::type type);
 
                        /**
                         * Obtiene la señal que avisa que se recibió un comando.