]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/include/plaqui/server/server.h
Se emprolija un poco:
[z.facultad/75.42/plaqui.git] / Server / include / plaqui / server / server.h
index 21a1958e798dd6dc6973d8c65bd28e801059a6b5..9953fd908e9cc2d7e353ba8db2451a0ce8bf5a0c 100644 (file)
@@ -117,6 +117,11 @@ namespace Server {
                         */
                        HTTPResponse* cmd_plant_get(const Command& command);
 
+                       /**
+                        * Maneja el comando plant/get.
+                        */
+                       HTTPResponse* cmd_plant_set(const Command& command);
+
                        /**
                         * Maneja el comando plant/stop.
                         */
@@ -135,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.