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