X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/e6d0648eb6af32d0e8db4876430f20dcc7d8d920..cd6078479123cd2cfe62df2d838633c143649edf:/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.