Package jason.asSemantics
Class Message
java.lang.Object
jason.asSemantics.Message
- All Implemented Interfaces:
ToJson
,Serializable
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
javax.json.JsonValue
getMsgId()
boolean
isAsk()
boolean
boolean
boolean
isTell()
boolean
isUnTell()
static Message
Creates a new message object based on a string that follows the format of the toString of Message class.void
setIlForce
(String ilf) void
setInReplyTo
(String inReplyTo) void
void
void
setReceiver
(String agName) void
void
toString()
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface jason.util.ToJson
getAsJsonStr
-
Field Details
-
knownPerformatives
-
msgIdPrefix
- See Also:
-
msgIdSyncAskPrefix
- See Also:
-
kqmlReceivedFunctor
- See Also:
-
kqmlDefaultPlans
- See Also:
-
-
Constructor Details
-
Message
public Message() -
Message
-
Message
-
Message
-
-
Method Details
-
setSyncAskMsgId
public void setSyncAskMsgId() -
getIlForce
-
setIlForce
-
isAsk
public boolean isAsk() -
isTell
public boolean isTell() -
isUnTell
public boolean isUnTell() -
isReplyToSyncAsk
public boolean isReplyToSyncAsk() -
isKnownPerformative
public boolean isKnownPerformative() -
setPropCont
-
getPropCont
-
getReceiver
-
setSender
-
getSender
-
setReceiver
-
getMsgId
-
setMsgId
-
getInReplyTo
-
setInReplyTo
-
clone
-
getAsJson
public javax.json.JsonValue getAsJson() -
parseMsg
Creates a new message object based on a string that follows the format of the toString of Message class.- Parameters:
msg
- the string message- Returns:
- the parsed Message
- Throws:
ParseException
-
toString
-