From: Joan Ametller (email@example.com)
Date: Tue Oct 08 2002 - 20:47:22 MET DST
I have a problem and i would like to know if the solution i've thought its
good or there are some more interesitng. Thanks in advanced.
I have An agent A waiting for requests from an agent B. Depending of some
details of the request, the agent must do two diferent actions:
Respond with a agree and later an inform message.
1. Respond with an agree to agent B
2. Send a request message to an agent C
3. wait for an agree message from C;
4. wait for an inform message from C.
5. Depending from the content of this inform message send a kind of inform or
antoher to B.
To implement this schema i thought that the agent A could have a
AchieveREResponder behaviour with a handler for ResultNotification with two
One For case 1 that is a OneShotBehaviour that constructs the inform message
One For case 2 that is an AchieveREInitiator who begins the comunication with
agent C and constructs the final inform message to B depending which are the
results of this last conversation.
What do you think about ? think its a good idea ? Thank you very much.
This archive was generated by hypermail 2a22 : Tue Oct 08 2002 - 17:48:55 MET DST