|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Thread
jcaas.util.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,
java.util.Set _method_begin_set,
java.util.Set _method_end_set,
java.util.Set _field_access_set,
java.util.Set _field_modify_set,
java.util.Set _exception_set,
JDIHandler[] _handlers)
Constructor. |
Method Summary | |
---|---|
void |
kill()
Forcably make this class stop running. |
void |
run()
The main loop of this class. |
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, java.util.Set _method_begin_set, java.util.Set _method_end_set, java.util.Set _field_access_set, java.util.Set _field_modify_set, java.util.Set _exception_set, JDIHandler[] _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 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 |