]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/include/plaqui/server/connection.h
Actualizo protocolo de comandos HTTP. Ahora es mucho mas simple y extensible.
[z.facultad/75.42/plaqui.git] / Server / include / plaqui / server / connection.h
index ef1fa2491e209b6c6a3094ba31aec0c7f34fddf5..4cdf44b296ef6f794d79c27405897bf999a2e27a 100644 (file)
@@ -31,7 +31,9 @@
 #include "plaqui/server/runnable.h"
 #include <socket++/sockinet.h>
 
-namespace Plaqui {
+namespace PlaQui {
+
+namespace Server {
 
        /// Conexión.
        class Connection: public Runnable {
@@ -49,7 +51,7 @@ namespace Plaqui {
                        /**
                         * Destructor.
                         */
-                       virtual ~Connection(void) {}
+                       virtual ~Connection(void);
 
                        /**
                         * Constructor.
@@ -58,13 +60,6 @@ namespace Plaqui {
                         */
                        Connection(const sockbuf::sockdesc& sd);
 
-                       /**
-                        * Constructor.
-                        *
-                        * \param socket Socket a usar en la conexión.
-                        */
-                       //Connection(const sockinetbuf& sb);
-
                        /**
                         * Constructor.
                         *
@@ -76,4 +71,6 @@ namespace Plaqui {
 
 }
 
+}
+
 #endif // PLAQUI_CONNECTION_H