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 SummaryFields 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.SimplePropertyObjectpcs, properties
 - 
Fields inherited from interface jadex.extension.envsupport.environment.ISpaceExecutorPROPERTY_EXECUTION_MONITORING
 
- 
 - 
Constructor SummaryConstructors Constructor Description DeltaTimeExecutor()Creates a new DeltaTimeExecutorDeltaTimeExecutor(AbstractEnvironmentSpace space, boolean tick)Creates a new DeltaTimeExecutor
 - 
Method SummaryAll 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.SimplePropertyObjectaddPropertyChangeListener, getProperties, getProperty, getPropertyNames, hasProperty, removePropertyChangeListener, setProperties, setProperty, toString
 - 
Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 - 
Methods inherited from interface jadex.commons.IPropertyObjectgetProperty, getPropertyNames, hasProperty, setProperty
 
- 
 
- 
- 
- 
Field Detail- 
timestampprotected long timestamp Current time stamp
 - 
containerprotected IExternalAccess container The platform.
 - 
clocklistenerprotected IChangeListener clocklistener The clock listener.
 - 
timerprotected ITimer timer The tick timer.
 - 
terminatedprotected boolean terminated The flag indicating that the executor is terminated.
 - 
scheduledprotected boolean scheduled Flag that a step was scheduled.
 
- 
 - 
Constructor Detail- 
DeltaTimeExecutorpublic DeltaTimeExecutor() Creates a new DeltaTimeExecutor- Parameters:
- timecoefficient- the time coefficient
- clockservice- the clock service
 
 - 
DeltaTimeExecutorpublic DeltaTimeExecutor(AbstractEnvironmentSpace space, boolean tick) Creates a new DeltaTimeExecutor- Parameters:
- timecoefficient- the time coefficient
- clockservice- the clock service
 
 
- 
 - 
Method Detail- 
startpublic void start() Start the space executor.- Specified by:
- startin interface- ISpaceExecutor
 
 - 
terminatepublic void terminate() Terminate the space executor.- Specified by:
- terminatein interface- ISpaceExecutor
 
 
- 
 
-