]> 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 75fbfdaca53014914cf5b728b5abb1144f01ef7d..9953fd908e9cc2d7e353ba8db2451a0ce8bf5a0c 100644 (file)
@@ -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.