public class Inspector extends java.lang.Thread implements InspectorContextListener
Modifier and Type | Field and Description |
---|---|
protected InspectorContext |
context |
protected boolean |
q |
Constructor and Description |
---|
Inspector(TucsonAgentId id,
TucsonTupleCentreId tid) |
Modifier and Type | Method and Description |
---|---|
InspectorContext |
getContext() |
void |
onContextEvent(InspectorContextEvent ev) |
void |
quit() |
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
protected InspectorContext context
protected boolean q
public Inspector(TucsonAgentId id, TucsonTupleCentreId tid)
id
- the agent identifier this inspector should usetid
- the identifier of the tuple centre under inspectionpublic InspectorContext getContext()
public void onContextEvent(InspectorContextEvent ev)
onContextEvent
in interface InspectorContextListener
ev
- the inspection event generatedpublic void quit()
public void run()
run
in interface java.lang.Runnable
run
in class java.lang.Thread