public class TestPtolemyThread extends PtolemyThread
_debugging, _debugListeners| Constructor and Description |
|---|
TestPtolemyThread()
Construct a new TestPtolemyThread object.
|
TestPtolemyThread(java.lang.Runnable target)
Construct a new TestPtolemyThread object.
|
TestPtolemyThread(java.lang.Runnable target,
java.lang.String name)
Construct a new TestPtolemyThread object.
|
TestPtolemyThread(java.lang.String name)
Construct a new TestPtolemyThread object.
|
TestPtolemyThread(java.lang.ThreadGroup group,
java.lang.Runnable target)
Construct a new TestPtolemyThread object.
|
TestPtolemyThread(java.lang.ThreadGroup group,
java.lang.Runnable target,
java.lang.String name)
Construct a new TestPtolemyThread object so that it has target as
its run object, has the specified name as its name, and belongs
to the thread group referred to by group.
|
TestPtolemyThread(java.lang.ThreadGroup group,
java.lang.String name)
Construct a new TestPtolemyThread object.
|
| Modifier and Type | Method and Description |
|---|---|
void |
debug(DebugEvent event)
Send a debug event to all debug listeners that have registered.
|
void |
debug(java.lang.String message)
Send a debug message to all debug listeners that have registered.
|
_debug, _debug, addDebugListener, removeDebugListeneractiveCount, 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, run, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yieldpublic TestPtolemyThread()
public TestPtolemyThread(java.lang.Runnable target)
target - The object whose run method is called.public TestPtolemyThread(java.lang.Runnable target, java.lang.String name)
target - The object whose run method is called.name - The name of the new thread.public TestPtolemyThread(java.lang.String name)
name - The name of the new thread.public TestPtolemyThread(java.lang.ThreadGroup group, java.lang.Runnable target)
group - The thread grouptarget - The object whose run method is called.public TestPtolemyThread(java.lang.ThreadGroup group, java.lang.Runnable target, java.lang.String name)
group - The thread group.target - The object whose run method is called.name - The name of the new thread.java.lang.SecurityException - If the superclass constructor throws it.public TestPtolemyThread(java.lang.ThreadGroup group, java.lang.String name)
group - The thread group.name - The name of the new thread.public void debug(DebugEvent event)
event - The event.public void debug(java.lang.String message)
message - The message.