Differences

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

Link to this comparison view

remote_agent_callback_action [2016/09/22 02:36] (current)
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]]
Print/export
QR Code
QR Code remote_agent_callback_action (generated for current page)