public class InspectorCore extends Inspector
Modifier and Type | Field and Description |
---|---|
protected boolean |
loggingQueries
wether pending queries view logging is enabled
|
protected boolean |
loggingReactions
wether triggered reactions view logging is enabled
|
protected boolean |
loggingTuples
wether tuples view logging is enabled
|
protected LogicTuple |
logOpFilter
template filtering pending queries logging
|
protected java.lang.String |
logQueryFilename
file name to log pending queries
|
protected java.io.FileWriter |
logQueryWriter
writing component to log pending queries
|
protected java.lang.String |
logReactionFilename
file name to log triggered reactions
|
protected java.io.FileWriter |
logReactionWriter
writing component to log triggered reactions
|
protected java.lang.String |
logTupleFilename
file name to log tuples
|
protected LogicTuple |
logTupleFilter
template filtering tuples logging
|
protected java.io.FileWriter |
logTupleWriter
writing component to log tuples
|
Constructor and Description |
---|
InspectorCore(InspectorGUI f,
TucsonAgentId id,
TucsonTupleCentreId tid) |
Modifier and Type | Method and Description |
---|---|
void |
changeLogQueryFile(java.lang.String name) |
void |
changeLogReactionFile(java.lang.String name) |
void |
changeLogTupleFile(java.lang.String name) |
void |
onContextEvent(InspectorContextEvent msg) |
getContext, quit, 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 boolean loggingQueries
protected boolean loggingReactions
protected boolean loggingTuples
protected LogicTuple logOpFilter
protected java.lang.String logQueryFilename
protected java.io.FileWriter logQueryWriter
protected java.lang.String logReactionFilename
protected java.io.FileWriter logReactionWriter
protected java.lang.String logTupleFilename
protected LogicTuple logTupleFilter
protected java.io.FileWriter logTupleWriter
public InspectorCore(InspectorGUI f, TucsonAgentId id, TucsonTupleCentreId tid)
f
- the GUI this inpector refers toid
- the agent identifier used by this inspectortid
- the identifier of the tuple centre to inspectpublic void changeLogQueryFile(java.lang.String name)
public void changeLogReactionFile(java.lang.String name)
public void changeLogTupleFile(java.lang.String name)
public void onContextEvent(InspectorContextEvent msg)
onContextEvent
in interface InspectorContextListener
onContextEvent
in class Inspector
msg
- the inspection event generated