Re: [Pando-devel] Message construction
Status: Alpha
Brought to you by:
camross
|
From: Cameron R. <cr...@sy...> - 2008-01-21 19:25:52
|
Hi Vlad, Looks good, but I will really need to try it out to get a feel for it. Please let me know when you've commit the code along with a sufficient readme and I'll take a look. Cheers, Cameron. Volodymyr Babiy wrote: > Hi, > > I would like to clarify how the messages from the console > will be dispatched to the FIPA agents > > Assume we have this situation: > DC : CM > connect net.sf.pando.prototypes.fipa_agent_one > CN : net.sf.pando.prototypes.fipa_agent_one : CM > > > In this situation the connection to the agent is active, > and the connection is in the command mode. The info mode > will display the statistics about the FIPA agent. > > Now the user of the console can type the message command > to display the default message. > > CN : net.sf.pando.prototypes.fipa_agent_one : CM > message > (inform > :sender (agent-identifier :name fipa-console) > :receiver (set (agent-identifier :name > net.sf.pando.prototypes.fipa_agent_one)) > :content “content is empty” > :language Prolog) > > To add the content of the message: > > CN : net.sf.pando.prototypes.fipa_agent_one : CM > content > "weather (today, raining)" > > Displaying the message after the content was added: > > CN : net.sf.pando.prototypes.fipa_agent_one : CM > message > (inform > :sender (agent-identifier :name fipa-console) > :receiver (set (agent-identifier :name > net.sf.pando.prototypes.fipa_agent_one)) > :content > "weather (today, raining)" > :language Prolog) > > Adding an ontology name to the message: > > CN : net.sf.pando.prototypes.fipa_agent_one : CM > > ontology world-politics > > > Displaying the message after ontology name was added > > CN : net.sf.pando.prototypes.fipa_agent_one : CM > message > (inform > :sender (agent-identifier :name fipa-console) > :receiver (set (agent-identifier :name > net.sf.pando.prototypes.fipa_agent_one)) > :content > "weather (today, raining)" > :ontology world-politics > :language Prolog) > > CN : net.sf.pando.prototypes.fipa_agent_one : CM > send > > The message will be verified to make sure all the critical > compotes are specified. If everything is ok, the message > will be send. > > The user can change or add all the other optional > properties of the message by following the approaches > above. In addition, the communicative act can be changed > the same way. For example going from inform act to request > act. > > Cameron please let me know what you think about this > approach of contacting a message. > > Cheers > Volodymyr Babiy > > > ------------------------------------------------------------------------- > This SF.net email is sponsored by: Microsoft > Defy all challenges. Microsoft(R) Visual Studio 2008. > http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ > _______________________________________________ > pando-devel mailing list > pan...@li... > https://lists.sourceforge.net/lists/listinfo/pando-devel > |