-
Notifications
You must be signed in to change notification settings - Fork 1
IPC Protocol
bob620 edited this page Jun 29, 2019
·
2 revisions
All commands are responded to with either resolve
or reject
regardless of if they return data.
Name | Type |
---|---|
type |
'resolve' or 'reject'
|
uuid |
String of UUID |
data | Object |
Command | Description |
---|---|
addScale | Adds scale using data given to it |
canvas | Runs different canvas commands remotely |
processDirectory | Processes a directory for new files |
remove | Removes a saved uuid |
save | saves a uuid |
writeImage | Writes an image to disk using data given to it |
Name | Type | Description |
---|---|---|
type | String |
Some command |
data | Object |
Described below |
uuid | String |
UUID |
Same as the thermo input
But includes uuid
of the image
Name | Type | Description |
---|---|---|
type | String |
Currently only 'init' accepted |
Name | Type | Description |
---|---|---|
uri | String |
New working directory URI |
Name | Type | Description |
---|---|---|
uuid | String |
uuid to be removed |
Name | Type | Description |
---|---|---|
uuid | String |
uuid to be added to saved list |
Same as the thermo input
and thermo write
But includes uuid
of the image
Command | Description |
---|---|
ready | Sent when the child has initialized |