Class DeltaTimeExecutor
- java.lang.Object
 - 
- jadex.commons.SimplePropertyObject
 - 
- jadex.extension.envsupport.environment.DeltaTimeExecutor
 
 
 
- 
- All Implemented Interfaces:
 IPropertyObject,ISpaceExecutor
public class DeltaTimeExecutor extends SimplePropertyObject implements ISpaceExecutor
Space executor that connects to a clock service and reacts on time deltas. 
- 
- 
Field Summary
Fields Modifier and Type Field Description protected IChangeListenerclocklistenerThe clock listener.protected IExternalAccesscontainerThe platform.protected booleanscheduledFlag that a step was scheduled.protected booleanterminatedThe flag indicating that the executor is terminated.protected ITimertimerThe tick timer.protected longtimestampCurrent time stamp- 
Fields inherited from class jadex.commons.SimplePropertyObject
pcs, properties 
- 
Fields inherited from interface jadex.extension.envsupport.environment.ISpaceExecutor
PROPERTY_EXECUTION_MONITORING 
 - 
 
- 
Constructor Summary
Constructors Constructor Description DeltaTimeExecutor()Creates a new DeltaTimeExecutorDeltaTimeExecutor(AbstractEnvironmentSpace space, boolean tick)Creates a new DeltaTimeExecutor 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidstart()Start the space executor.voidterminate()Terminate the space executor.- 
Methods inherited from class jadex.commons.SimplePropertyObject
addPropertyChangeListener, getProperties, getProperty, getPropertyNames, hasProperty, removePropertyChangeListener, setProperties, setProperty, toString 
- 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait 
- 
Methods inherited from interface jadex.commons.IPropertyObject
getProperty, getPropertyNames, hasProperty, setProperty 
 - 
 
 - 
 
- 
- 
Field Detail
- 
timestamp
protected long timestamp
Current time stamp 
- 
container
protected IExternalAccess container
The platform. 
- 
clocklistener
protected IChangeListener clocklistener
The clock listener. 
- 
timer
protected ITimer timer
The tick timer. 
- 
terminated
protected boolean terminated
The flag indicating that the executor is terminated. 
- 
scheduled
protected boolean scheduled
Flag that a step was scheduled. 
 - 
 
- 
Constructor Detail
- 
DeltaTimeExecutor
public DeltaTimeExecutor()
Creates a new DeltaTimeExecutor- Parameters:
 timecoefficient- the time coefficientclockservice- the clock service
 
- 
DeltaTimeExecutor
public DeltaTimeExecutor(AbstractEnvironmentSpace space, boolean tick)
Creates a new DeltaTimeExecutor- Parameters:
 timecoefficient- the time coefficientclockservice- the clock service
 
 - 
 
- 
Method Detail
- 
start
public void start()
Start the space executor.- Specified by:
 startin interfaceISpaceExecutor
 
- 
terminate
public void terminate()
Terminate the space executor.- Specified by:
 terminatein interfaceISpaceExecutor
 
 - 
 
 -