public class DDEThread extends ProcessThread
TimeKeeper
Yellow (yuhong) |
Yellow (davisj) |
_actor, _director, _manager
_debugging, _debugListeners
Constructor and Description |
---|
DDEThread(Actor actor,
ProcessDirector director)
Construct a thread to be used to execute the iteration
methods of a DDEActor.
|
Modifier and Type | Method and Description |
---|---|
TimeKeeper |
getTimeKeeper()
Return the time keeper that keeps time for the actor that
this thread controls.
|
void |
noticeOfTermination()
Notify output-connected actors that the actor controlled
by this thread is ending execution.
|
void |
start()
Start this thread and initialize the time keeper to a future
time if specified in the director's initial time table.
|
void |
wrapup()
End the execution of the actor under the control of this
thread.
|
_actorInitialized, _iterateActor, getActor, run
_debug, _debug, addDebugListener, removeDebugListener
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, stop, stop, suspend, toString, yield
public DDEThread(Actor actor, ProcessDirector director) throws IllegalActionException
actor
- The DDEActor that will be executed.director
- The director of this actor.IllegalActionException
- If thrown while create a new
TimeKeeper.public TimeKeeper getTimeKeeper()
public void noticeOfTermination()
PrioritizedTimedQueue
public void start()
NOTE: This method assumes an implementation of fireAt() that would be more appropriately named continueAt().
start
in class java.lang.Thread
public void wrapup() throws IllegalActionException
wrapup
in class ProcessThread
IllegalActionException
- If an error occurs while
ending execution of the actor under the control of this
thread.