|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
jmusic.jdi.EventHandlerThread
public class EventHandlerThread
This thread keeps querying the JDI event queue and sending the resulting events out to all the JDIHandlers. The JDI program is considered done when the EventHandlerThread detects a VMDeathEvent or VMDisconnectEvent, and then sends it out.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class java.lang.Thread |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
Field Summary |
---|
Fields inherited from class java.lang.Thread |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
Constructor Summary | |
---|---|
EventHandlerThread(com.sun.jdi.VirtualMachine _vm,
EventHandler[] _handlers)
Constructor. |
Method Summary | |
---|---|
void |
kill()
Forcably make this class stop running. |
void |
run()
The main loop of this class. |
static com.sun.jdi.event.Event |
wrapEvent(com.sun.jdi.event.Event e)
|
Methods inherited from class java.lang.Thread |
---|
activeCount, checkAccess, 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 |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public EventHandlerThread(com.sun.jdi.VirtualMachine _vm, EventHandler[] _handlers)
_vm
- the JDI VirtualMachine instance._method_begin_set
- a set of MemberIDs for MethodEntryEvents that we wish to catch_method_end_set
- a set of MemberIDs for MethodExitEvents we wish to catch_field_access_set
- a set of MemberIDs for AccessWatchpointEvents we wish to catch_field_modify_set
- a set of MemberIDs for ModificationWatchpointEvents we wish to
catch_exception_set
- a set of strings for exceptions we wish to catch_handlers
- the list of JDIHandlers that this class will send events toMethod Detail |
---|
public void kill()
public static com.sun.jdi.event.Event wrapEvent(com.sun.jdi.event.Event e)
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |