|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Object
|
+--jade.core.Agent
|
+--jade.tools.sniffer.SnifferNoGui
This is the Sniffer agent.
This class implements the low level part of the Sniffer, interacting with Jade
environment and with the sniffer GUI.
At startup, the sniffer subscribes itself as an rma to be informed every time
an agent is born or dead, a container is created or deleted.
For more information see Introduction to the Sniffer
| Field Summary | |
static boolean |
SNIFF_OFF
|
static boolean |
SNIFF_ON
|
| Fields inherited from class jade.core.Agent |
AP_ACTIVE,
AP_DELETED,
AP_INITIATED,
AP_MAX,
AP_MIN,
AP_SUSPENDED,
AP_TRANSIT,
AP_WAITING,
currentBehaviour,
currentMessage,
D_ACTIVE,
D_MAX,
D_MIN,
D_RETIRED,
D_SUSPENDED,
D_UNKNOWN,
MSG_QUEUE_SIZE |
| Constructor Summary | |
SnifferNoGui()
|
|
| Method Summary | |
void |
setup()
ACLMessages for subscription and unsubscription as rma are created and corresponding behaviours are set up. |
void |
sniffMsg(java.util.Vector agentVect,
boolean onFlag)
Creates the ACLMessage to be sent to the Ams with the list of the agent to be sniffed/unsniffed. |
void |
takeDown()
Cleanup during agent shutdown. |
| Methods inherited from class jade.core.Agent |
addBehaviour,
afterClone,
afterMove,
beforeClone,
beforeMove,
blockingReceive,
blockingReceive,
blockingReceive,
blockingReceive,
deregisterLanguage,
deregisterOntology,
doActivate,
doClone,
doDelete,
doMove,
doStart,
doSuspend,
doWait,
doWait,
doWake,
extractContent,
fillContent,
getAID,
getAMS,
getDefaultDF,
getHap,
getLocalName,
getName,
getQueueSize,
getState,
lookupLanguage,
lookupOntology,
notifyRestarted,
postMessage,
putBack,
read,
read,
receive,
receive,
registerLanguage,
registerOntology,
removeBehaviour,
restartLater,
restore,
run,
send,
setQueueSize,
write |
| Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
toString,
wait,
wait,
wait |
| Field Detail |
public static final boolean SNIFF_ON
public static final boolean SNIFF_OFF
| Constructor Detail |
public SnifferNoGui()
| Method Detail |
public void setup()
public void takeDown()
public void sniffMsg(java.util.Vector agentVect,
boolean onFlag)
agentVect - vector containing TreeData item representing the agentsonFlag - can be:
|
||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||