X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/e6d0648eb6af32d0e8db4876430f20dcc7d8d920..b92547a5de3a3fb4f14a2bea4a4e776b8da3cb5c:/Server/include/plaqui/server/serverconnection.h 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.