Changes between Version 18 and Version 19 of GuiRpc


Ignore:
Timestamp:
Feb 18, 2009, 7:58:37 AM (16 years ago)
Author:
davea
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GuiRpc

    v18 v19  
    55= Controlling the core client via RPC =
    66
    7 The BOINC core client provides a set of RPCs (remote procedure calls) for control and state interrogation. This enables the development of GUI (graphical user interface) programs separately from the core client. These RPCs send XML request and reply messages over a TCP connection. The XML formats are not documented, but can be deduced from the source code.
    8 
    9 BOINC provides a C++ interface to these RPCs, consisting of the GUI_RPC class. The interface is in [source:trunk/boinc/lib/gui_rpc_client.h lib/gui_rpc_client.h], and the program [source:trunk/boinc/lib/boinc_cmd.C boinc_cmd.C] gives a usage example. All member functions return an integer error code.
    10 It should be fairly easy to generate client interfaces in languages other than C++. GUI programs connect to the core client by opening a TCP socket at port 31416. They can then do repeated RPCs over this connection. Each reply message ends with the character \003.
     7The BOINC core client provides a set of RPCs (remote procedure calls) for control and state interrogation.
     8This enables the development of GUI (graphical user interface) programs separately from the core client.
     9These RPCs send XML request and reply messages over a TCP connection.
     10The XML formats are not documented, but can be deduced from the source code.
     11
     12BOINC provides a C++ interface to these RPCs, consisting of the GUI_RPC class.
     13The interface is in [source:trunk/boinc/lib/gui_rpc_client.h lib/gui_rpc_client.h],
     14and the program [source:trunk/boinc/lib/boinc_cmd.cpp boinc_cmd.cpp] gives a usage example.
     15All member functions return an integer error code.
     16It should be fairly easy to generate client interfaces in languages other than C++.
     17GUI programs connect to the core client by opening a TCP socket at port 31416.
     18They can then do repeated RPCs over this connection.
     19Each reply message ends with the character \003.
    1120
    1221To create an RPC connection, call