public static class MicroAgent.ExecuteWaitForStep extends Object implements IComponentStep<Void>
Constructor and Description |
---|
MicroAgent.ExecuteWaitForStep(ITimer ts,
IComponentStep<Void> run)
This class is constructed with an array of
ITimer s and the IComponentStep
which is scheduled for execution. |
Modifier and Type | Method and Description |
---|---|
IFuture<Void> |
execute(IInternalAccess ia)
Removes the first entry from the
ITimer array from the micro agents
MicroAgent.timers List and executes the IComponentStep . |
IComponentStep<Void> |
getComponentStep()
Returns the
IComponentStep that is scheduled for execution. |
String |
toString() |
public MicroAgent.ExecuteWaitForStep(ITimer ts, IComponentStep<Void> run)
ITimer
s and the IComponentStep
which is scheduled for execution.ts
- an array of ITimer
srun
- the IComponentStep
which is scheduled for executionpublic IFuture<Void> execute(IInternalAccess ia)
ITimer
array from the micro agents
MicroAgent.timers
List
and executes the IComponentStep
.execute
in interface IComponentStep<Void>
public String toString()
public IComponentStep<Void> getComponentStep()
IComponentStep
that is scheduled for execution.IComponentStep
that is scheduled for executionCopyright © 2013. All Rights Reserved.