|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Thread
com.goldenhammer.modality.SimulationThread
This class is responsible for running the test profile against the specified modality
| Field Summary |
| Fields inherited from class java.lang.Thread |
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
| Constructor Summary | |
SimulationThread(Modality theModality,
Node theNode,
java.util.logging.Logger logger)
default constructor. |
|
| Method Summary | |
Modality |
getModality()
|
boolean |
isRunning()
|
void |
run()
|
void |
setRunning(boolean running)
|
void |
stopSimulation()
Notifies the thread that the simulation should be stopped |
| Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public SimulationThread(Modality theModality,
Node theNode,
java.util.logging.Logger logger)
| Method Detail |
public void run()
public Modality getModality()
public void stopSimulation()
public boolean isRunning()
public void setRunning(boolean running)
running - The running to set.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||