X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/184e15f0eedd1a3895987e59f5d39fad19c3b9b6..a359eb714e150b2b59856d0056b9880aaaedd128:/Server/include/plaqui/server/controlclient.h?ds=sidebyside diff --git a/Server/include/plaqui/server/controlclient.h b/Server/include/plaqui/server/controlclient.h index 50ebe2a..669fba4 100644 --- a/Server/include/plaqui/server/controlclient.h +++ b/Server/include/plaqui/server/controlclient.h @@ -54,14 +54,6 @@ namespace Server { // Atributos. - private: - - /// Host al cual conectarse. - std::string host; - - /// Puerto al cual conectarse. - int port; - protected: /// Señal para indicar que se conectó. @@ -96,7 +88,8 @@ namespace Server { * control. * \param port Puerto al cual conectarse. */ - ControlClient(std::string host = "localhost", int port = 7522); + ControlClient(const std::string& host = "localhost", + const Connection::Port& port = 7522); /** * Envía un comando al servidor.