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