Differences

This shows you the differences between two versions of the page.

Link to this comparison view

remote_agent_callback_action [2020/04/26 03:33] – external edit 127.0.0.1remote_agent_callback_action [2020/05/10 15:59] (current) – removed admin
Line 1: Line 1:
-Remote agent can callback to the server to retrieve data from the model. For example, the agent may need to retrieve a user variable or system variable or even a row of data from the dataset needed to complete the command. 
  
-The following actions are supported: 
- 
-  * getVar - retrieves a user variable 
- 
-    [[http://localhost:8888/MbtSvr/app=agentsvc&agentID=localhost:1979&action=getVar&varName=myVar|http://localhost:8888/MbtSvr/app=agentsvc&agentID=localhost:1979&action=getVar&varName=myVar]] 
- 
-  * getSysVar - retrieves a user variable 
- 
-    [[http://localhost:8888/MbtSvr/app=agentsvc&agentID=localhost:1979&action=getSysVar&varName=curStateID|http://localhost:8888/MbtSvr/app=agentsvc&agentID=localhost:1979&action=getSysVar&varName=curStateID]] 
- 
-  * getData - retrieves a field from a dataset 
- 
-    [[http://localhost:8888/MbtSvr/app=agentsvc&agentID=localhost:1979&action=getData&dsName=myDS&fieldName=myField|http://localhost:8888/MbtSvr/app=agentsvc&agentID=localhost:1979&action=getData&dsName=myDS&fieldName=myField]] 
- 
-  * nextDataSetRow - advances the dataset to the next row 
- 
-    [[http://localhost:8888/MbtSvr/app=agentsvc&agentID=localhost:1979&action=nextDataSetRow&dsName=myDS|http://localhost:8888/MbtSvr/app=agentsvc&agentID=localhost:1979&action=nextDataSetRow&dsName=myDS]]