]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/include/plaqui/server/connection.h
Se unlockea() el mutex despues de llamar a connection->run(). Si lo unlockeo()
[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>
 
 #include "plaqui/server/runnable.h"
 #include <socket++/sockinet.h>
 
-namespace Plaqui {
+namespace PlaQui {
+
+namespace Server {
 
        /// Conexión.
        class Connection: public Runnable {
 
        /// Conexión.
        class Connection: public Runnable {
@@ -49,7 +51,7 @@ namespace Plaqui {
                        /**
                         * Destructor.
                         */
                        /**
                         * Destructor.
                         */
-                       virtual ~Connection(void) {}
+                       virtual ~Connection(void);
 
                        /**
                         * Constructor.
 
                        /**
                         * Constructor.
@@ -58,13 +60,6 @@ namespace Plaqui {
                         */
                        Connection(const sockbuf::sockdesc& sd);
 
                         */
                        Connection(const sockbuf::sockdesc& sd);
 
-                       /**
-                        * Constructor.
-                        *
-                        * \param socket Socket a usar en la conexión.
-                        */
-                       //Connection(const sockinetbuf& sb);
-
                        /**
                         * Constructor.
                         *
                        /**
                         * Constructor.
                         *
@@ -76,4 +71,6 @@ namespace Plaqui {
 
 }
 
 
 }
 
+}
+
 #endif // PLAQUI_CONNECTION_H 
 #endif // PLAQUI_CONNECTION_H