X-Git-Url: https://git.llucax.com/z.facultad/75.42/plaqui.git/blobdiff_plain/dd5a5045d5549015b6500726098cb43d1e1c614c..7e74b790d290cd7d776349503bb361c47933c01f:/Server/include/plaqui/server/server.h diff --git a/Server/include/plaqui/server/server.h b/Server/include/plaqui/server/server.h index 75fbfda..9953fd9 100644 --- a/Server/include/plaqui/server/server.h +++ b/Server/include/plaqui/server/server.h @@ -112,6 +112,16 @@ namespace Server { */ HTTPResponse* cmd_plant_list(void); + /** + * Maneja el comando plant/get. + */ + HTTPResponse* cmd_plant_get(const Command& command); + + /** + * Maneja el comando plant/get. + */ + HTTPResponse* cmd_plant_set(const Command& command); + /** * Maneja el comando plant/stop. */ @@ -130,7 +140,7 @@ namespace Server { * \param port Puerto en el cual escuchar. */ Server(const std::string& plant_filename, - const Connection::Port& port = 7522); + const Connection::Port& port = 7522) throw(sockerr); /** * Maneja los comandos recibidos por las conexiones.