HAMcast developers

Changes between Version 11 and Version 12 of documentation/tools/monitoring/rest


Ignore:
Timestamp:
02/18/12 16:55:36 (13 years ago)
Author:
zagaria
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • documentation/tools/monitoring/rest

    v11 v12  
    6767
    6868We 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 responsebility 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.
     69Note 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.
    7070
     71First 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.
     72After that a XML document is created using boost property tree.
    7173
    7274{{{