X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/e6d0648eb6af32d0e8db4876430f20dcc7d8d920..f1f2d6a48b96c759d197d1227e157665d0d7bbcc:/Server/include/plaqui/server/serverconnection.h?ds=inline diff --git a/Server/include/plaqui/server/serverconnection.h b/Server/include/plaqui/server/serverconnection.h index 91fa37f..1444343 100644 --- a/Server/include/plaqui/server/serverconnection.h +++ b/Server/include/plaqui/server/serverconnection.h @@ -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.