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
ITimers 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)
ITimers and the IComponentStep
which is scheduled for execution.ts - an array of ITimersrun - 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 © 2012. All Rights Reserved.