agentland.util
Class AgentMonitor
java.lang.Object
|
+--java.lang.Thread
|
+--agentland.util.AgentMonitor
- All Implemented Interfaces:
- Runnable
- public class AgentMonitor
- extends Thread
This class is a window which monitors an individual agent's
log messages. By design, this is pretty tightly integrated
with the LogMonitorAgent and can probably not be used independantly
without heavy hacking. The only real way to do this would be to make
this an Agent, which increases overhead costs quite a bit - so I'm
introducing an intermediate method distribution layer between the
LogMonitor and the Agent Monitor
Methods inherited from class java.lang.Thread |
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getContextClassLoader, getName, getPriority, getThreadGroup, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setName, setPriority, sleep, sleep, start, stop, stop, suspend, toString, yield |
AgentMonitor
public AgentMonitor(LogMonitorAgent PARENT,
AgentID SUBJECT)
throws RemoteException
- Makes this to be a new window which monitors the log
data sent by SUBJECT
addList
public void addList(List inp)
run
public void run()
- Overrides:
run
in class Thread
tell
public void tell(Secret sekrit)
- This logs an individual message to the screen
4.10.01 - modified by nick
This now actually processes the sekrit to get
loglevel, which should have been done before.
Oops.
tell
public void tell(int lvl,
String msg)
setupFrame
public void setupFrame()
setForeward
public void setForeward(boolean val)
searchFor
public void searchFor(String msg)