|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectmadkit.kernel.AbstractAgent
madkit.kernel.Watcher
public abstract class Watcher
This class defines a generic watcher agent. It holds a collection of probes to explore agents' internal properties.
| Constructor Summary | |
|---|---|
Watcher()
|
|
| Method Summary | |
|---|---|
void |
addProbe(Probe p)
|
void |
addProbe(Probe p,
java.lang.Object accessCard)
|
void |
end()
This method is called by the agent micro-kernel at the end of the agent lifecycle. |
Probe[] |
getProbes()
|
void |
removeAllProbes()
|
void |
removeProbe(Probe p)
|
void |
update()
Deprecated. since MadKit 2.1 : update is now useless as the Probe's agents variable is updated automatically |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Watcher()
| Method Detail |
|---|
public final void addProbe(Probe p)
public final void addProbe(Probe p,
java.lang.Object accessCard)
public final void removeProbe(Probe p)
public final Probe[] getProbes()
public final void removeAllProbes()
public void end()
AbstractAgent
end in class AbstractAgentpublic void update()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||