public class ACLMessage extends ActMessage
Modifier and Type | Field and Description |
---|---|
static int |
ACCEPT_PROPOSAL
constant identifying the FIPA performative
|
static String |
ACCEPT_PROPOSAL_STRING |
static int |
AGREE
constant identifying the FIPA performative
|
static String |
AGREE_STRING |
static int |
CANCEL
constant identifying the FIPA performative
|
static String |
CANCEL_STRING |
static int |
CFP
constant identifying the FIPA performative
|
static String |
CFP_STRING |
static int |
CONFIRM
constant identifying the FIPA performative
|
static String |
CONFIRM_STRING |
static int |
DISCONFIRM
constant identifying the FIPA performative
|
static String |
DISCONFIRM_STRING |
static int |
FAILURE
constant identifying the FIPA performative
|
static String |
FAILURE_STRING |
static int |
INFORM
constant identifying the FIPA performative
|
static int |
INFORM_IF
constant identifying the FIPA performative
|
static String |
INFORM_IF_STRING |
static int |
INFORM_REF
constant identifying the FIPA performative
|
static String |
INFORM_REF_STRING |
static String |
INFORM_STRING |
static int |
NOT_UNDERSTOOD
constant identifying the FIPA performative
|
static String |
NOT_UNDERSTOOD_STRING |
static List<String> |
performatives |
static int |
PROPAGATE
constant identifying the FIPA performative
|
static String |
PROPAGATE_STRING |
static int |
PROPOSE
constant identifying the FIPA performative
|
static String |
PROPOSE_STRING |
static int |
PROXY
constant identifying the FIPA performative
|
static String |
PROXY_STRING |
static int |
QUERY_IF
constant identifying the FIPA performative
|
static String |
QUERY_IF_STRING |
static int |
QUERY_REF
constant identifying the FIPA performative
|
static String |
QUERY_REF_STRING |
static int |
REFUSE
constant identifying the FIPA performative
|
static String |
REFUSE_STRING |
static int |
REJECT_PROPOSAL
constant identifying the FIPA performative
|
static String |
REJECT_PROPOSAL_STRING |
static int |
REQUEST
constant identifying the FIPA performative
|
static String |
REQUEST_STRING |
static int |
REQUEST_WHEN
constant identifying the FIPA performative
|
static String |
REQUEST_WHEN_STRING |
static int |
REQUEST_WHENEVER
constant identifying the FIPA performative
|
static String |
REQUEST_WHENEVER_STRING |
static int |
SUBSCRIBE
constant identifying the FIPA performative
|
static String |
SUBSCRIBE_STRING |
static int |
UNKNOWN
constant identifying an unknown performative
|
action, fields
Constructor and Description |
---|
ACLMessage()
Default constructor for ACLMessage class
|
ACLMessage(int perf,
String cont) |
ACLMessage(String actType)
Constructor for ACLMessage class
|
ACLMessage(String actType,
String cont)
Constructor for ACLMessage class
|
getAction, getContent, getFieldValue, getKeys, getObject, setField, setObject
clone, getConversationID, getReceiver, getSender
public static final int ACCEPT_PROPOSAL
public static final int AGREE
public static final int CANCEL
public static final int CFP
public static final int CONFIRM
public static final int DISCONFIRM
public static final int FAILURE
public static final int INFORM
public static final int INFORM_IF
public static final int INFORM_REF
public static final int NOT_UNDERSTOOD
public static final int PROPOSE
public static final int QUERY_IF
public static final int QUERY_REF
public static final int REFUSE
public static final int REJECT_PROPOSAL
public static final int REQUEST
public static final int REQUEST_WHEN
public static final int REQUEST_WHENEVER
public static final int SUBSCRIBE
public static final int PROXY
public static final int PROPAGATE
public static final int UNKNOWN
public static final String ACCEPT_PROPOSAL_STRING
public static final String AGREE_STRING
public static final String CANCEL_STRING
public static final String CFP_STRING
public static final String CONFIRM_STRING
public static final String DISCONFIRM_STRING
public static final String FAILURE_STRING
public static final String INFORM_STRING
public static final String INFORM_IF_STRING
public static final String INFORM_REF_STRING
public static final String NOT_UNDERSTOOD_STRING
public static final String PROPOSE_STRING
public static final String QUERY_IF_STRING
public static final String QUERY_REF_STRING
public static final String REFUSE_STRING
public static final String REJECT_PROPOSAL_STRING
public static final String REQUEST_STRING
public static final String REQUEST_WHEN_STRING
public static final String REQUEST_WHENEVER_STRING
public static final String SUBSCRIBE_STRING
public static final String PROXY_STRING
public static final String PROPAGATE_STRING
public ACLMessage()
public ACLMessage(String actType)
public ACLMessage(int perf, String cont)
public String getAct()
public void setContent(String s)
setContent
in class ActMessage
public String getPerformative()
public void setPerformative(String s)
public void addReceiver(AgentAddress r)
:receiver
slot. Warning:
no checks are made to validate the slot value.r
- The value to add to the slot value set.public List<AgentAddress> getReceivers()
public boolean removeReceiver(AgentAddress r)
:receiver
slot. Warning: no checks are made to validate the slot
value.r
- The value to remove from the slot value set.public void clearAllReceiver()
:receiver
slot. Warning: no checks are made to validate the slot
value.public void addReplyTo(AgentAddress dest)
:reply-to
slot. Warning:
no checks are made to validate the slot value.dest
- The value to add to the slot value set.public boolean removeReplyTo(AgentAddress dest)
:reply_to
slot. Warning: no checks are made to validate the slot
value.dest
- The value to remove from the slot value set.public void clearAllReplyTo()
:reply_to
slot. Warning: no checks are made to validate the slot
value.public String getEnvelope()
public void setEnvelope(String s)
public String getConversationIDentifier()
public void setConversationID(String s)
public String getProtocol()
public void setProtocol(String s)
public String getReplyWith()
public void setReplyWith(String s)
public String getReplyBy()
public void setReplyBy(String s)
public void setReplyBy(Date s)
public String getInReplyTo()
getInReplyTo
in class ActMessage
public void setInReplyTo(String s)
setInReplyTo
in class ActMessage
public String getLanguage()
public void setLanguage(String s)
public String getEncoding()
public void setEncoding(String s)
public String getOntology()
public void setOntology(String s)
public ACLMessage createReply()
Fabien Michel, Olivier Gutknecht, Jacques Ferber - February 17 2020