Class Engine
java.lang.Object
java.lang.Thread
eds.framework.Engine
- All Implemented Interfaces:
Runnable
- Direct Known Subclasses:
MyEngine
-
Nested Class Summary
Nested classes/interfaces inherited from class Thread
Thread.Builder, Thread.State, Thread.UncaughtExceptionHandler -
Field Summary
FieldsModifier and TypeFieldDescriptionprotected IModelToViewControllerprotected EventListprotected ServicePoint[]Fields inherited from class Thread
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidlonggetDelay()int[]protected abstract voidprotected abstract voidresults()voidrun()protected abstract voidvoidsetDelay(long time) voidsetSimulationTime(double time) Methods inherited from class Thread
activeCount, checkAccess, clone, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, isVirtual, join, join, join, join, ofPlatform, ofVirtual, onSpinWait, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, sleep, start, startVirtualThread, stop, threadId, toString, yield
-
Field Details
-
eventList
-
servicePoints
-
controller
-
-
Constructor Details
-
Engine
-
-
Method Details
-
setSimulationTime
public void setSimulationTime(double time) -
setDelay
public void setDelay(long time) -
getDelay
public long getDelay() -
run
-
getQueueLengths
public int[] getQueueLengths() -
initialization
protected abstract void initialization() -
runEvent
-
afterCycle
protected void afterCycle() -
results
protected abstract void results()
-