Magentix2  2.1.1
es.upv.dsic.gti_ia.cAgents.protocols.FIPA_RECRUITING_Participant.INFORM_Method Class Reference
Inheritance diagram for es.upv.dsic.gti_ia.cAgents.protocols.FIPA_RECRUITING_Participant.INFORM_Method:
Collaboration diagram for es.upv.dsic.gti_ia.cAgents.protocols.FIPA_RECRUITING_Participant.INFORM_Method:

List of all members.

Public Member Functions

String run (CProcessor myProcessor, ACLMessage messageToSend)

Detailed Description

Definition at line 213 of file FIPA_RECRUITING_Participant.java.


Member Function Documentation

The method to be executed by the action state

Parameters:
myProcessorThe CProcessor of the conversation
Returns:
The name of the next state of the conversation

Implements es.upv.dsic.gti_ia.cAgents.SendStateMethod.

Definition at line 214 of file FIPA_RECRUITING_Participant.java.

                                                                                    {
                        messageToSend.setProtocol("fipa-recruiting");
                        messageToSend.setSender(myProcessor.getMyAgent().getAid());
                        messageToSend.setPerformative(ACLMessage.INFORM);
                        messageToSend.setReceiver(initiator);
                        doInform(myProcessor, messageToSend);
                        return "FINAL_RECRUITING_PARTICIPANT";
                }

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables