Changes between Version 11 and Version 12 of documentation/tools/monitoring/rest
- Timestamp:
- 02/18/12 16:55:36 (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
documentation/tools/monitoring/rest
v11 v12 67 67 68 68 We add {{{std::string hello_client(std::vector<std::strings>);}}} to the header file and implement the method. 69 Note that all arguments are saved into a vector of string, the respons ebility of converting the arguments into the right data type is part of the method as well as the creation if the XML document for the reply.69 Note that all arguments are saved into a vector of string, the responsibility of converting the arguments into the right data type is part of the method as well as the creation if the XML document for the reply. 70 70 71 First the number of arguments will be checked, if they don’t match a empty string will be returned. On returning an empty string the caller will create a error message 404 NOT FOUND and send it to the client. This message can be interpreted by the client, that either the method was not found or there are missing/wrong arguments. 72 After that a XML document is created using boost property tree. 71 73 72 74 {{{