Discussion:
[jade-develop] How to reset the ContractNet session for new interactions?
Gustavo
2014-09-24 14:46:53 UTC
Permalink
Hi folks,
I'm still learning Jade, this time I'm working on a agent that provides some
kind of service (the Responder) and it must live, almost, forever and
provide services to many other agents (the Initiators).

I started from the examples:
ClassroomContractNetInitiatorAgent.java +
ClassroomContractNetResponderAgent.java by Rogelio Ramirez from
https://code.google.com/p/jessi/source/browse/trunk#trunk%2Fjessi_multiagent%2Fagents
and
ContractNetInitiatorAgent.java + ContractNetResponderAgent.java by
Giovanni Caire provided with jade

Both pairs of agents have the same problem, they proccess all the protocol
and finally send the last INFORM perfectly. But, I keep the Responder
running and when I start the Initiator again, I got the message:

"set 24, 2014 11:40:55 AM jade.core.messaging.MessageManager$Deliver run
ADVERTENCIA: Deliverer Thread Deliverer-4 - Delivery-time over threshold
(1002).
Receiver = AgentIni1, message size = 312"

This occurs every time I use an AgentName two or more times.
Questions:
1- This is an error? Should I be worried about this?
2- If it is an error, how to fix it?
3- In my opinion it seems that the communication session is not being
automatically finalized, I must to finalize it by myself? How?

Thanks in advance



--
View this message in context: http://jade.17737.x6.nabble.com/How-to-reset-the-ContractNet-session-for-new-interactions-tp5002732.html
Sent from the JADE - Dev mailing list archive at Nabble.com.

Loading...