| org.cougaar.core.servlet.BaseServletComponent org.cougaar.core.examples.mobility.step.StepManagerServlet
StepManagerServlet | public class StepManagerServlet extends BaseServletComponent implements BlackboardClient(Code) | | Servlet that allows the client to add, remove, and view
mobility test "Step" objects.check for
The path of the servlet is "/move/step".
The URL parameters to this servlet are:
- action=STRING
Option action selection, where the default is "Refresh".
"Refresh" displays the current Steps and their status.
"Remove" removes the Step with the UID specified by
the required "removeUID" parameter.
"Add" creates a new Step. Most of the parameters
below are used to support "Add".
- actorAgent=STRING
Optional name of the agent to perform the step. Defaults
to this servlet's agent.
- pauseTime=STRING
Optional time in milliseconds to pause before starting the
step. A value of "0" indicates no pause, which is the
default. If the value starts with a "+" then the pause
time is relative to the current time (e.g. "+5000" for
5 seconds after the submit). Other values are absolute
times in milliseconds (e.g. "1023309610110").
- timeoutTime=STRING
Optional time in milliseconds for the time limit of
the step. Supports the same "+" and time options as
the "pauseTime" parameter.
- 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!
|
currentTimeMillis | public long currentTimeMillis()(Code) | | |
getBlackboardClientName | public String getBlackboardClientName()(Code) | | |
removeStep | protected void removeStep(Step step)(Code) | | |
unload | public void unload()(Code) | | |
|
|