class RocFixedRateSimulation.EventGeneratingThread
extends java.lang.Thread
This thread generates events with junk data in it (all zeros except first word which is the event number). It is started by the GO transition and runs while the state of the module is ACTIVE.
When the state is ACTIVE and the list of output DataChannels is not empty, this thread selects an output by taking the next one from a simple iterator. This thread then creates data transport records with payload banks containing ROC raw records and places them on the output DataChannel.
Constructor and Description |
---|
EventGeneratingThread(int id,
java.lang.ThreadGroup group,
java.lang.String name) |
Modifier and Type | Method and Description |
---|---|
(package private) void |
endThread()
Kill this thread which is sending messages/data to other end of emu socket.
|
void |
run() |
activeCount, checkAccess, clone, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield