Local Deployment Socket¶
Principle¶
The Local Deployment Socket is a tool that allows to transfer a Sandboxed Application on the device over a network connection.
Functional Description¶
The Local Deployment Socket builds the Sandboxed Application .fo
and upload it on the device identified by its IP address. On the device, it is the job of the Kernel Application that receives the .fo
to install and to run the Sandboxed Application.
Use¶
./gradlew execTool --name=localDeploymentSocket \
--toolProperty="application.main.class=com.mycompany.MyFeature" \
--toolProperty="board.server.host=10.0.0.171" \
--toolProperty="board.server.port=4000" \
--toolProperty="board.timeout=120000" \
--toolProperty="use.storage=true"
Options¶
Option: Application Feature Class¶
Option Name: application.main.class
Required?: Yes
Description:
Specify the entry-point as the full qualified name of the Feature Application to deploy.
Option: Server Host¶
Option Name: board.server.host
Required?: Yes
Description:
The IP of the target device.
Option: Server Port¶
Option Name: board.server.port
Required?: Yes
Description:
The TCP port on which the Kernel listens (usually 4000).
Option: Timeout¶
Option Name: board.timeout
Required?: Yes
Description:
If there is no activity within the defined timeout period (in seconds), the tool will disconnect from the device.
Option: Use Storage¶
Option Name: use.storage
Required?: Yes
Description:
A boolean describing whether to use the storage to store the Application or not. Refer to the Kernel documentation to find out the correct setting.