3 | | Wrappers (wrapper, vboxwrapper, wrappture) use the following |
4 | | API to control the behavior of the BOINC runtime system. |
| 3 | Wrappers (wrapper, vboxwrapper, wrappture) perform the functions |
| 4 | normally done by the BOINC runtime system, |
| 5 | such as handling suspend/resume messages from the client. |
| 6 | For example, vboxwrapper handles suspend messages by telling the !VirtualBox |
| 7 | hypervisor to suspend the VM. |
| 8 | |
| 9 | Developing a wrapper involves: |
| 10 | |
| 11 | * Setting initialization options telling the BOINC runtime system |
| 12 | what functions it should perform |
| 13 | (i.e. those not performed by the wrapper). |
| 14 | * Periodically calling [StatusApi#Gettingruntimesystemstatus boinc_get_status()] |
| 15 | to see when something (e.g. suspend/resume) needs to be done. |
| 16 | |
| 17 | == Initialization for wrappers == |