X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/989d0da7e93d155dde399bf3047ab6b4af550bb6..a9d033a0a6748c192d30c9c65ebcc8b1a96cd43b:/Server/include/plaqui/server/server.h diff --git a/Server/include/plaqui/server/server.h b/Server/include/plaqui/server/server.h index 5f2e959..21a1958 100644 --- a/Server/include/plaqui/server/server.h +++ b/Server/include/plaqui/server/server.h @@ -112,6 +112,11 @@ namespace Server { */ HTTPResponse* cmd_plant_list(void); + /** + * Maneja el comando plant/get. + */ + HTTPResponse* cmd_plant_get(const Command& command); + /** * Maneja el comando plant/stop. */ @@ -129,7 +134,8 @@ namespace Server { * * \param port Puerto en el cual escuchar. */ - Server(int port = 7522); + Server(const std::string& plant_filename, + const Connection::Port& port = 7522); /** * Maneja los comandos recibidos por las conexiones.