Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
|
demo_remote_agent [2020/04/26 03:33] 127.0.0.1 external edit |
— (current) | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Demo Model: RemoteAgent ===== | ||
| - | ==== Objective==== | ||
| - | // | ||
| - | |||
| - | NOTE: this model is included in the download package. | ||
| - | |||
| - | ---- | ||
| - | ==== What's Included ==== | ||
| - | The demo consists of the following components: | ||
| - | |||
| - | * FSM model, reuse of [[VendingMachine|VendingMachine]] model which is set to use [[remotetriggerplugin|RemoteTriggerPlugin]]. | ||
| - | * [[http:// | ||
| - | |||
| - | ---- | ||
| - | ==== Execute Model ==== | ||
| - | To run the demo, start up // | ||
| - | |||
| - | Below is what happens when the agent runs: | ||
| - | |||
| - | - connects to // | ||
| - | - opens model // | ||
| - | - waits for 5 seconds to ensure the model execution completes the initialization | ||
| - | - obtains an agent id. | ||
| - | - gets the remote command from the server | ||
| - | - prints the remote command received, in real world model, you would execute the command on AUT | ||
| - | - loops until no more remote command is received from the server | ||
| - | - stops the model execution | ||
| - | - obtains model execution summary and prints it out | ||
| - | - close the model | ||
| - | |||
| - | ==== Execution Results ==== | ||
| - | The output you would see would look like [[http:// | ||
| - | |||
| - | The process described above would be the same regardless of where the agent is running. The above processing can be implemented with any programming / scripting languages. | ||
| - | |||
| - | For more information about the agent in java and other languages, please refer to [[RemoteAgent|Remote Agents]]. | ||