Package | Description |
---|---|
casa.jade | |
jade.content | |
jade.content.abs | |
jade.domain | |
jade.lang.acl |
This package contains the support for the FIPA Agent Communication Language (ACL)
including the ACLMessage class, the parser, the encoder, and
an helper class for representing templates of ACL messages.
|
jade.semantics.actions |
Modifier and Type | Method and Description |
---|---|
private AbsContentElement |
ContentManager.decode(ACLMessage msg,
Codec codec,
Ontology onto)
Deprecated.
|
private void |
ContentManager.encode(ACLMessage msg,
AbsContentElement content,
Codec codec,
Ontology onto)
Deprecated.
|
AbsContentElement |
ContentManager.extractAbsContent(ACLMessage msg)
Deprecated.
Translates the
:content slot of an
ACLMessage msg into an AbsContentElement
using the content language and ontology indicated in the
:language and :ontology fields of msg . |
ContentElement |
ContentManager.extractContent(ACLMessage msg)
Deprecated.
Translates the
:content slot of an
ACLMessage msg into a ContentElement
using the content language and ontology indicated in the
:language and :ontology fields of msg . |
void |
ContentManager.fillContent(ACLMessage msg,
AbsContentElement content)
Deprecated.
Fills the
:content slot of an
ACLMessage msg using the content language
and ontology indicated in the :language and
:ontology fields of msg . |
void |
ContentManager.fillContent(ACLMessage msg,
ContentElement content)
Deprecated.
Fills the
:content slot of an
ACLMessage msg using the content language
and ontology indicated in the :language and
:ontology fields of msg . |
Ontology |
ContentManager.getOntology(ACLMessage msg)
Deprecated.
|
Modifier and Type | Class and Description |
---|---|
class |
OntoACLMessage
Utility class that allow using an
ACLMessage object
as an ontological agent action. |
Modifier and Type | Method and Description |
---|---|
private AbsContentElement |
ContentManager.decode(ACLMessage msg,
Codec codec,
Ontology onto) |
private void |
ContentManager.encode(ACLMessage msg,
AbsContentElement content,
Codec codec,
Ontology onto) |
AbsContentElement |
ContentManager.extractAbsContent(ACLMessage msg)
Translates the
:content slot of an
ACLMessage msg into an AbsContentElement
using the content language and ontology indicated in the
:language and :ontology fields of msg . |
ContentElement |
ContentManager.extractContent(ACLMessage msg)
Translates the
:content slot of an
ACLMessage msg into a ContentElement
using the content language and ontology indicated in the
:language and :ontology fields of msg . |
void |
ContentManager.fillContent(ACLMessage msg,
AbsContentElement content)
Fills the
:content slot of an
ACLMessage msg using the content language
and ontology indicated in the :language and
:ontology fields of msg . |
void |
ContentManager.fillContent(ACLMessage msg,
ContentElement content)
Fills the
:content slot of an
ACLMessage msg using the content language
and ontology indicated in the :language and
:ontology fields of msg . |
Ontology |
ContentManager.getOntology(ACLMessage msg) |
static OntoACLMessage |
OntoACLMessage.wrap(ACLMessage msg)
Create an ontological ACL message that wraps an existing
ACLMessage . |
Modifier and Type | Method and Description |
---|---|
static AbsAgentAction |
AbsHelper.externaliseACLMessage(ACLMessage obj,
Ontology onto)
Converts an
ACLMessage into an
AbsAgentAction using
the specified ontology. |
Modifier and Type | Field and Description |
---|---|
protected ACLMessage |
FIPAException.msg |
Modifier and Type | Method and Description |
---|---|
ACLMessage |
FIPAException.getACLMessage()
Retrieve the ACL message whose content is represented by this
exception.
|
Constructor and Description |
---|
FIPAException(ACLMessage message)
Constructs a
FIPAException from the given ACL
message. |
Modifier and Type | Field and Description |
---|---|
(package private) ACLMessage |
ACLParser.msg |
Modifier and Type | Method and Description |
---|---|
ACLMessage |
ACLMessage.createReply()
create a new ACLMessage that is a reply to this message.
|
ACLMessage |
StringACLCodec.decode()
decode and parses the next message from the Reader passed in the
constructor.
|
ACLMessage |
StringACLCodec.decode(byte[] data,
String charset) |
ACLMessage |
LEAPACLCodec.decode(byte[] data,
String charset)
Recovers an
ACLMessage object back from raw data,
using the specific message representation to interpret the byte
sequence. |
ACLMessage |
ACLCodec.decode(byte[] data,
String charset)
Recovers an
ACLMessage object back from raw data,
using the specific message representation to interpret the byte
sequence. |
static ACLMessage |
LEAPACLCodec.deserializeACL(DataInputStream dis) |
ACLMessage |
ACLParser.Message() |
ACLMessage |
ACLParser.parse(Reader text) |
Modifier and Type | Method and Description |
---|---|
private void |
StringACLCodec.checkBase64Encoding(ACLMessage msg)
if there was an automatical Base64 encoding, then it performs
automatic decoding.
|
byte[] |
StringACLCodec.encode(ACLMessage msg,
String charset)
If the content of the message is a byteSequence, then this
method encodes the content in Base64 and automatically sets the value
of the encoding slot.
|
byte[] |
LEAPACLCodec.encode(ACLMessage msg,
String charset)
Encodes an
ACLMessage object into a byte sequence,
according to the specific message representation. |
byte[] |
ACLCodec.encode(ACLMessage msg,
String charset)
Encodes an
ACLMessage object into a byte sequence,
according to the specific message representation. |
static void |
LEAPACLCodec.serializeACL(ACLMessage msg,
DataOutputStream dos) |
(package private) static String |
StringACLCodec.toString(ACLMessage msg)
If a user-defined parameter contain a blank char inside, then it is skipped for FIPA-compatibility
|
void |
StringACLCodec.write(ACLMessage msg)
encodes the message and writes it into the Writer passed in the
constructor.
|
Modifier and Type | Method and Description |
---|---|
ACLMessage |
CommunicativeAction.toAclMessage()
Returns the ACL Message corresponding to the action.
|
Modifier and Type | Method and Description |
---|---|
SemanticAction |
CommunicativeAction.newAction(ACLMessage aclMessage)
Creates a new instance of this prototype of semantic action from an
ACLMessage.
|
SemanticAction |
SemanticAction.newAction(Formula rationalEffect,
ACLMessage inReplyTo)
Creates a new instance of this prototype of semantic action from
the specified rational effect.
|
SemanticAction |
CommunicativeAction.newAction(Formula rationalEffect,
ACLMessage inReplyTo)
Creates a new instance of this prototype of semantic action from
the specified rational effect.
|