Discussion:
[jade-develop] Sniffer agent
fatma
2014-05-04 19:20:50 UTC
Permalink
Dear all,
I am using JADE platform and I am testing the ? thanks agent ? example.
I am not able to show the exchanged messages with the sniffer agent.
I click to the sniffer agent but there is no exchanged messages between
agents !
Please help me !!
Thanks in advance !




--
View this message in context: http://jade.17737.x6.nabble.com/Sniffer-agent-tp5002543.html
Sent from the JADE - Dev mailing list archive at Nabble.com.
Caire Giovanni
2014-05-06 08:17:35 UTC
Permalink
Hi,

Very likely the point is simply that when you activate the Sniffer, the ThanksAgent has already exchanged all messages.
Try the following:
1) create a file called sniffer.properties in the jade directory as the one attached. This simply tells the Sniffer to automatically start sniffing agents called t, tt1 and tt2 as soon as they start.
2) launch jade
java -cp lib/jade.jar;lib/jadeExamples.jar jade.Boot -gui
3) Start the Sniffer
4) From the RMA GUI start a thanks agent called t

You should see the sniffer showing messages exchanged by t, tt1 and tt2.

NOTE that also in this case some messages may not appear in the sniffer GUI since it may be exchanged while the sniffing mechanism is still initializing or the sender/receiver agent is dying.

Bye,

Giovanni

-----Messaggio originale-----
Da: jade-develop-bounces at avalon.tilab.com [mailto:jade-develop-bounces at avalon.tilab.com] Per conto di fatma
Inviato: domenica 4 maggio 2014 21:21
A: jade-develop at avalon.tilab.com
Oggetto: [jade-develop] Sniffer agent

Dear all,
I am using JADE platform and I am testing the ? thanks agent ? example.
I am not able to show the exchanged messages with the sniffer agent.
I click to the sniffer agent but there is no exchanged messages between agents !
Please help me !!
Thanks in advance !




--
View this message in context: http://jade.17737.x6.nabble.com/Sniffer-agent-tp5002543.html
Sent from the JADE - Dev mailing list archive at Nabble.com.
_______________________________________________
jade-develop mailing list
jade-develop at avalon.tilab.com
https://avalon.cselt.it/mailman/listinfo/jade-develop
UNSUBSCRIBE INSTRUCTIONS AT
http://jade.tilab.com/community-mailinglist.htm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sniffer.properties
Type: application/octet-stream
Size: 21 bytes
Desc: sniffer.properties
URL: <http://avalon.cselt.it/pipermail/jade-develop/attachments/20140506/18b47528/attachment-0001.obj>
Loading...