Created API Implementation (markdown)

David Anderson 2023-09-19 18:00:07 -07:00
parent 9c341526d0
commit 602d60248b
1 changed files with 56 additions and 0 deletions

56
API-Implementation.md Normal file

@ -0,0 +1,56 @@
## Communication
The client and the app communicate through several shared-memory message-passing channels:
### Messages from client to app
#### process_control_request
```xml
<quit/>
<abort/>
<suspend/>
<resume/>
<reread_app_info/>
<network_available/>
```
#### heartbeat
```xml
<heartbeat>
<wss>
<max_wss>
<network_suspended>
```
#### trickle_down
```xml
<have_new_trickle_down/>
```
#### graphics_request
Not used
### Messages from app to client
#### app_status
```xml
<current_cpu_time>...
<checkpoint_cpu_time>...
<working_set_size>...
<fraction_done> ...
```
#### trickle_up
```xml
<have_new_trickle_up/>
```
#### process_control_reply
Not used
#### graphics_reply
```xml
<web_graphics_url>
<remote_desktop_addr>
```