Magentix2
2.1.1
|
Public Member Functions | |
String | run (CProcessor myProcessor, ACLMessage msg) |
Definition at line 192 of file Argumentation_Participant.java.
String es.upv.dsic.gti_ia.cAgents.protocols.Argumentation_Participant.Assert_Method.run | ( | CProcessor | myProcessor, |
ACLMessage | messageToSend | ||
) |
The method to be executed by the action state
myProcessor | The CProcessor of the conversation |
Implements es.upv.dsic.gti_ia.cAgents.SendStateMethod.
Definition at line 193 of file Argumentation_Participant.java.
{ String asserts=doAssert(myProcessor, msg, currentWhyAgentID); if(asserts.equalsIgnoreCase(ASSERTS)) return "WAIT_WAIT_ATTACK"; else if(asserts.equalsIgnoreCase(NOCOMMIT)){ doNoCommit(myProcessor, msg); return "PROPOSE"; } else return "WAIT_CENTRAL"; //only happens if I have responded the other agent before };