| Servlet that allows the client to add
AgentControl objects
to the blackboard and monitor their progress, such as agent
mobility.
The path of the servlet is "/move".
The URL parameters to this servlet are:
- action=STRING
Option action selection, where the default is "Refresh".
"Refresh" displays the current status.
"Add" creates a new AgentControl request. Most of the
parameters below are used to support this action.
"Remove" removes the AgentControl with the UID specified
by the required "removeUID" parameter.
- op=String
Required operation, which may be "Move", "Add", or
"Remove". If none is specified then "Move" is assumed
(for backwards compatibility).
- removeUID=String
If the action is "Remove", this is the UID of the script
to be removed. Any running processes are killed.
- mobileAgent=STRING
Option agent to move. Defaults to this servlet's agent.
- originNode=STRING
Option origin node for the mobile agent. Defaults to
wherever the agent happens to be at the time of the submit.
If set, the move will assert the agent starting node
location.
- destNode=STRING
Option destination node for the mobile agent. Defaults
to wherever the agent happens to be at the time of
the submit.
- isForceRestart=BOOLEAN
Only applies when the destNode is not specified or
matches the current agent location. If true, the agent
will undergo most of the move work, even though it's
already at the specified destination node.
Note the SECURITY issues of moving agents!
|