Re: [jade-develop] AchieveREResponder in FSMBehaviour


Subject: Re: [jade-develop] AchieveREResponder in FSMBehaviour
From: Cinzia S (cinzia.s@ntlworld.com)
Date: Mon Sep 02 2002 - 12:09:40 MET DST


This is where things don't go quite right:

MessageOperator, onEnd()
PrepareRequests, onEnd()
RequestInitiator, onEnd(): last state executed: 0
*** Uncaught Exception for agent ppp ***
java.lang.RuntimeException: Inconsistent FSM. State: STATE_3 event: 0

Event 0 must be an event of the AchieveREResponder (RequestInitiator) other
than the registered handler behaviours (request, agree, inform, failure), as
I'm overriding their onEnds() with different values, and the onEnd of
AchieveREResponder is also overridden to return the getLastExitValue().

How can I get the AchieveREResponder to wait for a response message + result
notification message before its onEnd() is fired?

Thanks
Cinzia

----- Original Message -----
From: "Caire Giovanni" <Giovanni.Caire@TILAB.COM>
To: "Cinzia S" <cinzia.s@ntlworld.com>; <jade-develop@sharon.cselt.it>
Sent: Monday, September 02, 2002 9:36 AM
Subject: RE: [jade-develop] AchieveREResponder in FSMBehaviour

Hi Cinzia,

Yes it is possible to nest FSMBehaviours. If the AchieveREResponder is never
triggered probably the transition that leads to it is never fired.

Bye

Giovanni

-----Original Message-----
From: Cinzia S [mailto:cinzia.s@ntlworld.com]
Sent: domenica 1 settembre 2002 2.59
To: jade-develop@sharon.cselt.it
Subject: [jade-develop] AchieveREResponder in FSMBehaviour

Hi Jaders!

I've placed an AchieveREResponder as a sub-behaviour of an FSMBehaviour, but
it doesn't seem to be triggered at all. The AchieveREResponder has its own
registered behaviours which handles agree, inform and failure.

Am I doing something wrong? Is it possible to nest FSMBehaviours?

Thanks for you help
Cinzia

_______________________________________________
jade-develop mailing list
jade-develop@sharon.cselt.it
http://sharon.cselt.it/mailman/listinfo/jade-develop
UNSUBSCRIBE INSTRUCTIONS AT http://jade.cselt.it/mailing.htm#unsubscribe

====================================================================
CONFIDENTIALITY NOTICE
This message and its attachments are addressed solely to the persons
above and may contain confidential information. If you have received
the message in error, be informed that any use of the content hereof
is prohibited. Please return it immediately to the sender and delete
the message. Should you have any questions, please contact us by
replying to MailAdmin@tilab.com. Thank you
====================================================================



This archive was generated by hypermail 2a22 : Mon Sep 02 2002 - 12:04:48 MET DST