|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use MessageTemplate | |
|---|---|
| jade.core | This package contains the microkernel of JADE system. |
| jade.core.behaviours | This package is a subpackage of jade.core and contains
the classes used to implement basic agent
behaviours. |
| 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.proto | This package contains role behaviours for FIPA standard protocols. |
| jade.proto.states | This package contains classes for common states of an interaction protocol, such as "waiting for a given message", "selecting between a number of alternatives", ... |
| Uses of MessageTemplate in jade.core |
|---|
| Methods in jade.core with parameters of type MessageTemplate | |
|---|---|
ACLMessage |
Agent.blockingReceive(MessageTemplate pattern)
Receives an ACL message matching a given message template. |
ACLMessage |
Agent.blockingReceive(MessageTemplate pattern,
long millis)
Receives an ACL message matching a given message template, waiting at most a specified time. |
ACLMessage |
MessageQueue.receive(MessageTemplate pattern)
Return and remove the first message that matches the specified message template. |
ACLMessage |
Agent.receive(MessageTemplate pattern)
Receives an ACL message matching a given template. |
| Uses of MessageTemplate in jade.core.behaviours |
|---|
| Methods in jade.core.behaviours with parameters of type MessageTemplate | |
|---|---|
void |
OntologyServer.setMessageTemplate(MessageTemplate template)
|
| Uses of MessageTemplate in jade.lang.acl |
|---|
| Methods in jade.lang.acl that return MessageTemplate | |
|---|---|
static MessageTemplate |
MessageTemplate.and(MessageTemplate op1,
MessageTemplate op2)
Logical and between two MessageTemplate
objects. |
MessageTemplate |
ConversationList.getMessageTemplate()
Return a template that matches only messages that do not belong to any of the conversations in this list. |
static MessageTemplate |
MessageTemplate.MatchAll()
This Factory Method returns a message template that matches any message. |
static MessageTemplate |
MessageTemplate.MatchContent(java.lang.String value)
This Factory Method returns a message template that matches any message with a given :content slot. |
static MessageTemplate |
MessageTemplate.MatchConversationId(java.lang.String value)
This Factory Method returns a message template that matches any message with a given :conversation-id slot. |
static MessageTemplate |
MessageTemplate.MatchCustom(ACLMessage msg,
boolean matchPerformative)
This Factory Method returns a message template that matches ACL messages against a given one, passed as parameter. |
static MessageTemplate |
MessageTemplate.MatchEncoding(java.lang.String value)
This Factory Method returns a message template that matches any message with a given :encoding slot. |
static MessageTemplate |
MessageTemplate.MatchInReplyTo(java.lang.String value)
This Factory Method returns a message template that matches any message with a given :in-reply-to slot. |
static MessageTemplate |
MessageTemplate.MatchLanguage(java.lang.String value)
This Factory Method returns a message template that matches any message with a given :language slot. |
static MessageTemplate |
MessageTemplate.MatchOntology(java.lang.String value)
This Factory Method returns a message template that matches any message with a given :ontology slot. |
static MessageTemplate |
MessageTemplate.MatchPerformative(int value)
This Factory Method returns a message template that matches any message with a given performative. |
static MessageTemplate |
MessageTemplate.MatchProtocol(java.lang.String value)
This Factory Method returns a message template that matches any message with a given :protocol slot. |
static MessageTemplate |
MessageTemplate.MatchReceiver(AID[] values)
This Factory Method returns a message template that matches any message with a given :receiver slot. |
static MessageTemplate |
MessageTemplate.MatchReplyByDate(java.util.Date value)
This Factory Method returns a message template that matches any message with a given :reply-by slot. |
static MessageTemplate |
MessageTemplate.MatchReplyTo(AID[] values)
This Factory Method returns a message template that matches any message with a given :reply-to slot. |
static MessageTemplate |
MessageTemplate.MatchReplyWith(java.lang.String value)
This Factory Method returns a message template that matches any message with a given :reply-with slot. |
static MessageTemplate |
MessageTemplate.MatchSender(AID value)
This Factory Method returns a message template that matches any message with a given :sender slot. |
static MessageTemplate |
MessageTemplate.MatchTopic(AID topic)
This Factory Method returns a message template that matches any message about a given topic. |
static MessageTemplate |
MessageTemplate.not(MessageTemplate op)
Logical not of a MessageTemplate object. |
static MessageTemplate |
MessageTemplate.or(MessageTemplate op1,
MessageTemplate op2)
Logical or between two MessageTemplate
objects. |
| Methods in jade.lang.acl with parameters of type MessageTemplate | |
|---|---|
static MessageTemplate |
MessageTemplate.and(MessageTemplate op1,
MessageTemplate op2)
Logical and between two MessageTemplate
objects. |
static MessageTemplate |
MessageTemplate.not(MessageTemplate op)
Logical not of a MessageTemplate object. |
static MessageTemplate |
MessageTemplate.or(MessageTemplate op1,
MessageTemplate op2)
Logical or between two MessageTemplate
objects. |
| Uses of MessageTemplate in jade.proto |
|---|
| Methods in jade.proto that return MessageTemplate | |
|---|---|
static MessageTemplate |
TwoPhResponder.createMessageTemplate()
This static method can be used to set the proper message Template (based on the interaction protocol and the performative) to be passed to the constructor of this behaviour. |
static MessageTemplate |
SubscriptionResponder.createMessageTemplate(int perf)
This static method can be used to set the proper message Template (based on the performative of the subscription message) into the constructor of this behaviour. |
static MessageTemplate |
SimpleAchieveREResponder.createMessageTemplate(java.lang.String iprotocol)
This static method can be used to set the proper message Template (based on the interaction protocol and the performative) into the constructor of this behaviour. |
static MessageTemplate |
ProposeResponder.createMessageTemplate(java.lang.String iprotocol)
This static method can be used to set the proper message template (based on the interaction protocol and the performative) into the constructor of this behaviour. |
static MessageTemplate |
ContractNetResponder.createMessageTemplate(java.lang.String iprotocol)
This static method can be used to set the proper message Template (based on the interaction protocol and the performative) to be passed to the constructor of this behaviour. |
static MessageTemplate |
AchieveREResponder.createMessageTemplate(java.lang.String iprotocol)
This static method can be used to set the proper message Template (based on the interaction protocol and the performative) into the constructor of this behaviour. |
| Methods in jade.proto with parameters of type MessageTemplate | |
|---|---|
void |
SubscriptionResponder.reset(MessageTemplate mt)
This method resets the protocol and allows to change the MessageTemplate
that defines what messages this SubscriptionResponder
will react to. |
void |
SimpleAchieveREResponder.reset(MessageTemplate mt)
This method allows to change the MessageTemplate
that defines what messages this FIPARequestResponder will react to and reset the protocol. |
void |
ProposeResponder.reset(MessageTemplate mt)
This method allows to change the MessageTemplate
that defines what messages this ProposeResponder will react to
and reset the protocol. |
void |
AchieveREResponder.reset(MessageTemplate mt)
This method allows to change the MessageTemplate
that defines what messages this FIPARequestResponder will react to and reset the protocol. |
| Constructors in jade.proto with parameters of type MessageTemplate | |
|---|---|
AchieveREResponder(Agent a,
MessageTemplate mt)
Constructor of the behaviour that creates a new empty DataStore |
|
AchieveREResponder(Agent a,
MessageTemplate mt,
DataStore store)
Constructor. |
|
ContractNetResponder(Agent a,
MessageTemplate mt)
Constructor of the behaviour that creates a new empty DataStore |
|
ContractNetResponder(Agent a,
MessageTemplate mt,
DataStore store)
Constructor of the behaviour. |
|
ProposeResponder(Agent a,
MessageTemplate mt)
Constructor of the behaviour that creates a new empty DataStore |
|
ProposeResponder(Agent a,
MessageTemplate mt,
DataStore store)
Constructor. |
|
SimpleAchieveREResponder(Agent a,
MessageTemplate mt)
Constructor of the behaviour that creates a new empty DataStore |
|
SimpleAchieveREResponder(Agent a,
MessageTemplate mt,
DataStore store)
Constructor. |
|
SSResponderDispatcher(Agent a,
MessageTemplate tpl)
|
|
SubscriptionResponder(Agent a,
MessageTemplate mt)
Construct a SubscriptionResponder behaviour that handles subscription messages matching a given template. |
|
SubscriptionResponder(Agent a,
MessageTemplate mt,
SubscriptionResponder.SubscriptionManager sm)
Construct a SubscriptionResponder behaviour that handles subscription messages matching a given template and notifies a given SubscriptionManager about subscription/un-subscription events. |
|
SubscriptionResponder(Agent a,
MessageTemplate mt,
SubscriptionResponder.SubscriptionManager sm,
DataStore store)
Construct a SubscriptionResponder behaviour that handles subscription messages matching a given template, notifies a given SubscriptionManager about subscription/un-subscription events and uses a given DataStore. |
|
TwoPhResponder(Agent a,
MessageTemplate mt)
Constructor of the behaviour that creates a new empty DataStore |
|
TwoPhResponder(Agent a,
MessageTemplate mt,
DataStore store)
Constructor of the behaviour. |
|
| Uses of MessageTemplate in jade.proto.states |
|---|
| Fields in jade.proto.states declared as MessageTemplate | |
|---|---|
protected MessageTemplate |
MsgReceiver.template
|
| Methods in jade.proto.states with parameters of type MessageTemplate | |
|---|---|
void |
MsgReceiver.reset(MessageTemplate mt,
long deadline,
DataStore s,
java.lang.Object msgKey)
Reset this behaviour, possibly replacing the receive templatt and other data. |
void |
MsgReceiver.setTemplate(MessageTemplate mt)
This method allows modifying the template |
| Constructors in jade.proto.states with parameters of type MessageTemplate | |
|---|---|
MsgReceiver(Agent a,
MessageTemplate mt,
long deadline,
DataStore s,
java.lang.Object msgKey)
Constructor. |
|
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||