Uses of Class
jade.lang.acl.MessageTemplate
-
Packages that use MessageTemplate Package Description jade.core This package contains the microkernel of JADE system.jade.core.behaviours This package is a subpackage ofjade.coreand contains the classes used to implement basic agent behaviours.jade.domain This package and its sub-packages contains FIPA specific agents and ontologies.jade.imtp.leap 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
Fields in jade.core declared as MessageTemplate Modifier and Type Field Description protected MessageTemplateExtendedMessageQueue. warningDiscardTemplateMethods in jade.core with parameters of type MessageTemplate Modifier and Type Method Description ACLMessageAgent. blockingReceive(MessageTemplate pattern)Receives an ACL message matching a given message template.ACLMessageAgent. blockingReceive(MessageTemplate pattern, long millis)Receives an ACL message matching a given message template, waiting at most a specified time.ACLMessageAgent. receive(MessageTemplate pattern)Receives an ACL message matching a given template.List<ACLMessage>Agent. receive(MessageTemplate pattern, int max)Read up to max messages from the agent message queue.ACLMessageExtendedMessageQueue. receive(MessageTemplate pattern)List<ACLMessage>ExtendedMessageQueue. receive(MessageTemplate pattern, int max)ACLMessageMessageQueue. receive(MessageTemplate pattern)Return and remove the first message that matches the specified message template.List<ACLMessage>MessageQueue. receive(MessageTemplate pattern, int max)Return and remove the first n messages that match the specified message template.ACLMessageTemplateBasedMessageQueue. receive(MessageTemplate pattern)List<ACLMessage>TemplateBasedMessageQueue. receive(MessageTemplate pattern, int max)voidTemplateBasedMessageQueue. registerTemplate(MessageTemplate tpl)Register a specific MessageTemplate to this MessageQueue.ListBackEndContainer. removePendingMessages(MessageTemplate template, boolean notifyFailure)Constructors in jade.core with parameters of type MessageTemplate Constructor Description ExtendedMessageQueue(int maxSize, int warningLimit, MessageTemplate warningDiscardTemplate, Agent a)TemplateBasedMessageQueue(int maxSize, int warningLimit, MessageTemplate warningDiscardTemplate, Agent a) -
Uses of MessageTemplate in jade.core.behaviours
Fields in jade.core.behaviours declared as MessageTemplate Modifier and Type Field Description protected MessageTemplateOntologyServer. templateMethods in jade.core.behaviours with parameters of type MessageTemplate Modifier and Type Method Description voidOntologyServer. setMessageTemplate(MessageTemplate template)Constructors in jade.core.behaviours with parameters of type MessageTemplate Constructor Description ReceiverBehaviour(Agent a, long millis, MessageTemplate mt)This constructor creates aReceiverBehaviourobject that ends as soon as an ACL message matching a givenMessageTemplatearrives or the passedmillistimeout expires.ReceiverBehaviour(Agent a, ReceiverBehaviour.Handle h, long millis, MessageTemplate mt)Receive any ACL message matching the given template, witing at mostmillismilliseconds (infinite time ifmillis < 1. -
Uses of MessageTemplate in jade.domain
Constructors in jade.domain with parameters of type MessageTemplate Constructor Description RequestManagementBehaviour(Agent a, MessageTemplate mt) -
Uses of MessageTemplate in jade.imtp.leap
Methods in jade.imtp.leap with parameters of type MessageTemplate Modifier and Type Method Description ListFrontEndStub. removePendingMessages(MessageTemplate template) -
Uses of MessageTemplate in jade.lang.acl
Methods in jade.lang.acl that return MessageTemplate Modifier and Type Method Description static MessageTemplateMessageTemplate. and(MessageTemplate op1, MessageTemplate op2)Logical and between twoMessageTemplateobjects.MessageTemplateConversationList. getMessageTemplate()Return a template that matches only messages that do not belong to any of the conversations in this list.static MessageTemplateMessageTemplate. MatchAll()This Factory Method returns a message template that matches any message.static MessageTemplateMessageTemplate. MatchContent(String value)This Factory Method returns a message template that matches any message with a given:contentslot.static MessageTemplateMessageTemplate. MatchConversationId(String value)This Factory Method returns a message template that matches any message with a given:conversation-idslot.static MessageTemplateMessageTemplate. MatchCustom(ACLMessage msg, boolean matchPerformative)This Factory Method returns a message template that matches ACL messages against a given one, passed as parameter.static MessageTemplateMessageTemplate. MatchEncoding(String value)This Factory Method returns a message template that matches any message with a given:encodingslot.static MessageTemplateMessageTemplate. MatchInReplyTo(String value)This Factory Method returns a message template that matches any message with a given:in-reply-toslot.static MessageTemplateMessageTemplate. MatchLanguage(String value)This Factory Method returns a message template that matches any message with a given:languageslot.static MessageTemplateMessageTemplate. MatchOntology(String value)This Factory Method returns a message template that matches any message with a given:ontologyslot.static MessageTemplateMessageTemplate. MatchPerformative(int value)This Factory Method returns a message template that matches any message with a given performative.static MessageTemplateMessageTemplate. MatchProtocol(String value)This Factory Method returns a message template that matches any message with a given:protocolslot.static MessageTemplateMessageTemplate. MatchReceiver(AID[] values)This Factory Method returns a message template that matches any message with a given:receiverslot.static MessageTemplateMessageTemplate. MatchReplyByDate(Date value)This Factory Method returns a message template that matches any message with a given:reply-byslot.static MessageTemplateMessageTemplate. MatchReplyTo(AID[] values)This Factory Method returns a message template that matches any message with a given:reply-toslot.static MessageTemplateMessageTemplate. MatchReplyWith(String value)This Factory Method returns a message template that matches any message with a given:reply-withslot.static MessageTemplateMessageTemplate. MatchSender(AID value)This Factory Method returns a message template that matches any message with a given:senderslot.static MessageTemplateMessageTemplate. MatchTopic(AID topic)This Factory Method returns a message template that matches any message about a given topic.static MessageTemplateMessageTemplate. not(MessageTemplate op)Logical not of aMessageTemplateobject.static MessageTemplateMessageTemplate. or(MessageTemplate op1, MessageTemplate op2)Logical or between twoMessageTemplateobjects.Methods in jade.lang.acl with parameters of type MessageTemplate Modifier and Type Method Description static MessageTemplateMessageTemplate. and(MessageTemplate op1, MessageTemplate op2)Logical and between twoMessageTemplateobjects.static MessageTemplateMessageTemplate. not(MessageTemplate op)Logical not of aMessageTemplateobject.static MessageTemplateMessageTemplate. or(MessageTemplate op1, MessageTemplate op2)Logical or between twoMessageTemplateobjects. -
Uses of MessageTemplate in jade.proto
Fields in jade.proto declared as MessageTemplate Modifier and Type Field Description protected MessageTemplateInitiator. replyTemplateprotected MessageTemplateInitiator. replyTemplateprotected MessageTemplateInitiator. replyTemplateprotected MessageTemplateInitiator. replyTemplateprotected MessageTemplateInitiator. replyTemplateprotected MessageTemplateInitiator. replyTemplateprotected MessageTemplateInitiator. replyTemplateprotected MessageTemplateInitiator. replyTemplateprotected MessageTemplateInitiator. replyTemplateprotected MessageTemplateInitiator. replyTemplateprotected MessageTemplateProposeInitiator. replyTemplateMethods in jade.proto that return MessageTemplate Modifier and Type Method Description static MessageTemplateAchieveREResponder. createMessageTemplate(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 MessageTemplateContractNetResponder. createMessageTemplate(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 MessageTemplateProposeResponder. createMessageTemplate(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 MessageTemplateSimpleAchieveREResponder. createMessageTemplate(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 MessageTemplateSubscriptionResponder. 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 MessageTemplateTwoPhResponder. 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.Methods in jade.proto with parameters of type MessageTemplate Modifier and Type Method Description voidAchieveREResponder. reset(MessageTemplate mt)This method allows to change theMessageTemplatethat defines what messages this FIPARequestResponder will react to and reset the protocol.voidProposeResponder. reset(MessageTemplate mt)This method allows to change theMessageTemplatethat defines what messages this ProposeResponder will react to and reset the protocol.voidSimpleAchieveREResponder. reset(MessageTemplate mt)This method allows to change theMessageTemplatethat defines what messages this FIPARequestResponder will react to and reset the protocol.voidSubscriptionResponder. reset(MessageTemplate mt)This method resets the protocol and allows to change theMessageTemplatethat defines what messages this SubscriptionResponder will react to.Constructors in jade.proto with parameters of type MessageTemplate Constructor Description AchieveREResponder(Agent a, MessageTemplate mt)Constructor of the behaviour that creates a new empty DataStoreAchieveREResponder(Agent a, MessageTemplate mt, DataStore store)Constructor.ContractNetResponder(Agent a, MessageTemplate mt)Constructor of the behaviour that creates a new empty DataStoreContractNetResponder(Agent a, MessageTemplate mt, DataStore store)Constructor of the behaviour.ProposeResponder(Agent a, MessageTemplate mt)Constructor of the behaviour that creates a new empty DataStoreProposeResponder(Agent a, MessageTemplate mt, DataStore store)Constructor.SimpleAchieveREResponder(Agent a, MessageTemplate mt)Constructor of the behaviour that creates a new empty DataStoreSimpleAchieveREResponder(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 DataStoreTwoPhResponder(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 Modifier and Type Field Description protected MessageTemplateMsgReceiver. templateMethods in jade.proto.states with parameters of type MessageTemplate Modifier and Type Method Description voidMsgReceiver. reset(MessageTemplate mt, long deadline, DataStore s, Object msgKey)Reset this behaviour, possibly replacing the receive templatt and other data.voidMsgReceiver. setTemplate(MessageTemplate mt)This method allows modifying the templateConstructors in jade.proto.states with parameters of type MessageTemplate Constructor Description MsgReceiver(Agent a, MessageTemplate mt, long deadline, DataStore s, Object msgKey)Constructor.
-