]> git.llucax.com Git - z.facultad/75.42/plaqui.git/blobdiff - Server/include/plaqui/server/response.h
Mini bugfix.
[z.facultad/75.42/plaqui.git] / Server / include / plaqui / server / response.h
index 16e52deec09f1e17634bb55474da0833190768bf..d912002184c9ddd72de2907aba31ddc240225e44 100644 (file)
@@ -46,20 +46,20 @@ namespace Server {
 
                        /// Código de respuesta.
                        typedef enum {
-                               OK,
-                               UNKNOWN_ERROR,
-                               INVALID_TARGET,
-                               INVALID_COMMAND,
-                               ARGUMENT_MISSING,
-                               ALLREADY_EXISTS,
-                               CONNECTION_NOT_FOUND,
-                               TRANSMISSION_NOT_FOUND,
-                               PLANT_NOT_FOUND,
-                               ELEMENT_NOT_FOUND,
-                               ELEMENT_INPUT_NOT_FOUND,
-                               ERROR_STARTING_TRANSMISSION,
-                               ERROR_GETING_PLANT_XML,
-                               ERROR_CHANGING_ELEMENT_INPUT
+                               OK,                ///< Comando ejecutado con éxito.
+                               UNKNOWN_ERROR,      ///< Error desconocido.
+                               INVALID_TARGET,      ///< Destino del comando inválido.
+                               INVALID_COMMAND,      ///< Comando inválido para el destino.
+                               ARGUMENT_MISSING,      ///< Faltan argumentos para el comando.
+                               ALLREADY_EXISTS,        ///< Ya existe la transmisión.
+                               CONNECTION_NOT_FOUND,    ///< Conexión no encontrada.
+                               TRANSMISSION_NOT_FOUND,   ///< Transmisión no encontrada.
+                               PLANT_NOT_FOUND,           ///< Planta no encontrada.
+                               ELEMENT_NOT_FOUND,          ///< Elemento no encontrado.
+                               ELEMENT_INPUT_NOT_FOUND,     ///< No existe la entrada para el elemento.
+                               ERROR_STARTING_TRANSMISSION, ///< No se pudo empezar la transmisión.
+                               ERROR_GETING_PLANT_XML,      ///< No se pudo obtener el XML de la planta.
+                               ERROR_CHANGING_ELEMENT_INPUT ///< No se pudo cambiar la entrada del elemento.
                        } Code;
 
                private: