DOCUMENTATION TUTORIALS DOWNLOAD NEWS CONTRIBUTE

Using FIPA ACL

The communicating skill offers some actions and built-in variables which enable agents to communicate with each other using the FIPA interaction protocol. This document describes the built-in variables and actions of this skill. Examples are found in the models library bundled with GAMA.

##Variables

Actions

####accept_proposal Replies a message with an ‘accept_proposal’ performative message

####agree Replies a message with an ‘agree’ performative message.

####cancel Replies a message with a ‘cancel’ peformative message.

####cfp Replies a message with a ‘cfp’ performative message.

####end_conversation Replies a message with an ‘end_conversation’ peprformative message. This message marks the end of a conversation. In a ‘no-protocol’ conversation, it is the responsible of the modeler to explicitly send this message to mark the end of a conversation/interaction protocol.

####failure Replies a message with a ‘failure’ performative message.

####inform Replies a message with an ‘inform’ performative message.

####propose Replies a message with a ‘propose’ performative message.

####query Replies a message with a ‘query’ performative message.

####refuse Replies a message with a ‘refuse’ performative message.

####reject_proposal Replies a message with a ‘reject_proposal’ performative message.

####reply Replies a message. This action should be only used to reply a message in a ‘no-protocol’ conversation and with a ‘user defined performative’. For performatives supported by GAMA (i.e., standard FIPA performatives), please use the ‘action’ with the same name of ‘performative’. For example, to reply a message with a ‘request’ performative message, the modeller should use the ‘request’ action.

####request Replies a message with a ‘request’ performative message.

####send Starts a conversation/interaction protocol.

####start_conversation Starts a conversation/interaction protocol.

####subscribe Replies a message with a ‘subscribe’ performative message.

//: # (endConcept fipa_acl)