Changes between Version 24 and Version 25 of GuiRpcProtocol


Ignore:
Timestamp:
Oct 4, 2009, 10:06:47 PM (15 years ago)
Author:
Nicolas
Comment:

m

Legend:

Unmodified
Added
Removed
Modified
  • GuiRpcProtocol

    v24 v25  
    3636</boinc_gui_rpc_reply>
    3737}}}
    38 although individual commands may specify a different reply. For example, any command where the client is requesting information from the server would get that extra information in the command reply, instead of {{{<success/>}}}.
     38although individual commands, especially those that retrieve data, may return the requested information ''instead of'' {{{<success/>}}}.
    3939
    4040If a command isn't successful, the reply is:
     
    4545</boinc_gui_rpc_reply>
    4646}}}
    47 Clients should not try to parse the error message. The current gui_rpc_client.C library sometimes tries to parse errors, but this is very unreliable, since the message wording can change (and has changed) between RPC server versions. (r15942 even changed "unrecognized op")
     47Clients should not try to parse the error message. The current gui_rpc_client.cpp library sometimes tries to parse errors, but this is very unreliable, since the message wording can change (and has changed) between RPC server versions. (r15942 even changed "unrecognized op")
    4848
    4949== Authentication == #auth
     
    8383There are some XML elements (like {{{<project>}}}, {{{<result>}}}, {{{<workunit>}}}, and {{{<app>}}}) that are common to many command replies. Such elements ~~are~~ will be documented in this section.
    8484
    85 The XML responses are relatively flat, and are parsed in one pass. The relationship between XML elements is determined by what was parsed before it, instead of based on the tree hierarchy like other XML formats do. For example, {{{<result>}}} elements that come ''after'' a particular {{{<project>}}} element are results that belong to that project; instead of those results being ''inside'' the {{{<project>}}} element.
     85The XML responses are relatively flat, and are parsed in one pass. The relationship between XML elements is determined by what was parsed before it, instead of based on the tree hierarchy like other XML formats do. For example, {{{<result>}}} elements that come ''after'' a particular {{{<project>}}} element are results that belong to that project. They won't be ''inside'' the {{{<project>}}} element.