Magentix2
2.1.1
|
Public Member Functions | |
String | run (CProcessor myProcessor, ACLMessage messageReceived) |
Definition at line 321 of file Argumentation_Participant.java.
String es.upv.dsic.gti_ia.cAgents.protocols.Argumentation_Participant.Wait_Assert_Method.run | ( | CProcessor | myProcessor, |
ACLMessage | receivedMessage | ||
) |
The method to be executed by the receive state
myProcessor | The CProcessor of the conversation |
Implements es.upv.dsic.gti_ia.cAgents.ReceiveStateMethod.
Definition at line 322 of file Argumentation_Participant.java.
{ if(messageReceived.getHeaderValue(LOCUTION).equalsIgnoreCase(ASSERTS)) return "ATTACK"; else if(messageReceived.getHeaderValue(LOCUTION).equalsIgnoreCase(NOCOMMIT)){ return "WAIT_CENTRAL"; } else return "WAIT_CENTRAL"; // should not happen };