Uses of Class
jade.lang.acl.ACLMessage
-
Packages that use ACLMessage Package Description jade.content jade.content.abs 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.core.event jade.core.messaging jade.domain This package and its sub-packages contains FIPA specific agents and ontologies.jade.domain.FIPAAgentManagement This package contains the definition of the FIPA-Agent-Management ontology as specified by the FIPA standard FIPA Agent Management Specification - document no.jade.domain.introspection This package contains the definition of the ontology used by JADE for internal monitoring of the agent platform and running agents.jade.gui This package contains general purpose components that can be used to build Swing-based Graphical User Interfaces for JADE agents.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", ...jade.security jade.tools jade.tools.applet This package contains all those classes and HTML files that are necessary to implement applets integrated within the JADE framework.jade.tools.gui jade.tools.sniffer jade.tools.SocketProxyAgent jade.tools.testagent -
-
Uses of ACLMessage in jade.content
Subclasses of ACLMessage in jade.content Modifier and Type Class Description classOntoACLMessageUtility class that allow using anACLMessageobject as an ontological agent action.Methods in jade.content with parameters of type ACLMessage Modifier and Type Method Description AbsContentElementContentManager. extractAbsContent(ACLMessage msg)Translates the:contentslot of anACLMessage msginto anAbsContentElementusing the content language and ontology indicated in the:languageand:ontologyfields ofmsg.ContentElementContentManager. extractContent(ACLMessage msg)Translates the:contentslot of anACLMessage msginto aContentElementusing the content language and ontology indicated in the:languageand:ontologyfields ofmsg.voidContentManager. fillContent(ACLMessage msg, AbsContentElement content)Fills the:contentslot of anACLMessage msgusing the content language and ontology indicated in the:languageand:ontologyfields ofmsg.voidContentManager. fillContent(ACLMessage msg, ContentElement content)Fills the:contentslot of anACLMessage msgusing the content language and ontology indicated in the:languageand:ontologyfields ofmsg.OntologyContentManager. getOntology(ACLMessage msg)static OntoACLMessageOntoACLMessage. wrap(ACLMessage msg)Create an ontological ACL message that wraps an existingACLMessage. -
Uses of ACLMessage in jade.content.abs
Methods in jade.content.abs with parameters of type ACLMessage Modifier and Type Method Description static AbsAgentActionAbsHelper. externaliseACLMessage(ACLMessage obj, Ontology onto)Converts anACLMessageinto anAbsAgentActionusing the specified ontology. -
Uses of ACLMessage in jade.core
Fields in jade.core with type parameters of type ACLMessage Modifier and Type Field Description protected LinkedList<ACLMessage>ExtendedMessageQueue. listMethods in jade.core that return ACLMessage Modifier and Type Method Description ACLMessageAgent. blockingReceive()Receives an ACL message from the agent message queue.ACLMessageAgent. blockingReceive(long millis)Receives an ACL message from the agent message queue, waiting at most a specified amount of time.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()Receives an ACL message from the agent message queue.ACLMessageAgent. receive(MessageTemplate pattern)Receives an ACL message matching a given template.ACLMessageExtendedMessageQueue. receive(MessageTemplate pattern)ACLMessageMessageQueue. receive(MessageTemplate pattern)Return and remove the first message that matches the specified message template.ACLMessageTemplateBasedMessageQueue. receive(MessageTemplate pattern)Methods in jade.core that return types with arguments of type ACLMessage Modifier and Type Method Description List<ACLMessage>Agent. receive(MessageTemplate pattern, int max)Read up to max messages from the agent message queue.List<ACLMessage>ExtendedMessageQueue. receive(MessageTemplate pattern, int max)List<ACLMessage>MessageQueue. receive(MessageTemplate pattern, int max)Return and remove the first n messages that match the specified message template.List<ACLMessage>TemplateBasedMessageQueue. receive(MessageTemplate pattern, int max)Methods in jade.core with parameters of type ACLMessage Modifier and Type Method Description voidExtendedMessageQueue. addFirst(ACLMessage msg)voidMessageQueue. addFirst(ACLMessage msg)Add a message to the front of this queue.voidExtendedMessageQueue. addLast(ACLMessage msg)voidMessageQueue. addLast(ACLMessage msg)Add a message to the end of this queue.protected voidExtendedMessageQueue. handleDiscarded(ACLMessage msg, boolean warningLimitExceeded)This method is invoked when a message is discarded because the queue max size has been reached or the warning limit has been exceeded and the discard-message-template matches.voidFrontEnd. messageIn(ACLMessage msg, String receiver)Pass an ACLMessage to the FrontEnd for posting.voidBackEnd. messageOut(ACLMessage msg, String sender)Pass an ACLMessage to the BackEnd for dispatching.voidBackEndContainer. messageOut(ACLMessage msg, String sender)An agent on the FrontEnd has sent a message.static voidMicroRuntime. notifyFailureToSender(ACLMessage msg, String sender, String error)voidAgent. postMessage(ACLMessage msg)Put a received message into the agent message queue.booleanAgentContainer. postMessagesBlockToLocalAgent(ACLMessage[] mm, AID receiverID)booleanBackEndContainer. postMessagesBlockToLocalAgent(ACLMessage[] mm, AID receiverID)booleanAgentContainer. postMessageToLocalAgent(ACLMessage msg, AID receiverID)booleanBackEndContainer. postMessageToLocalAgent(ACLMessage msg, AID receiverID)Dispatch a message to an agent in the FrontEnd.voidAgent. putBack(ACLMessage msg)Puts a received ACL message back into the message queue.voidAgent. send(ACLMessage msg)Send an ACL message to another agent. -
Uses of ACLMessage in jade.core.behaviours
Methods in jade.core.behaviours that return ACLMessage Modifier and Type Method Description protected ACLMessageActionExecutor. createInitiation()protected abstract ACLMessageBaseInitiator. createInitiation()Concrete subclasses are expected to implement this method to create the initiation message.ACLMessageReceiverBehaviour. getMessage()This method allows the caller to get the received message.ACLMessageReceiverBehaviour.Handle. getMessage()Tries to retrieve theACLMessageobject represented by this handle.Methods in jade.core.behaviours with parameters of type ACLMessage Modifier and Type Method Description protected booleanLoaderBehaviour. accept(ACLMessage msg)Suclasses may redefine this method to prevent the behaviour loading operation under specific conditions.protected voidLoaderBehaviour. addBehaviour(Behaviour b, ACLMessage request)Add a loaded behaviour to the agent.voidBaseInitiator. handleFailure(ACLMessage failure)voidActionExecutor. handleInform(ACLMessage inform)protected voidOntologyServer. handleMessage(ACLMessage msg)voidBaseInitiator. handleNotUnderstood(ACLMessage notUnderstood)protected voidOntologyServer. handleNotUnderstood(ContentException ce, ACLMessage msg)voidBaseInitiator. handleRefuse(ACLMessage refuse)protected voidOntologyServer. handleServingFailure(Throwable t, Object cel, ACLMessage msg)protected voidOntologyServer. handleUnsupported(Object keyCel, ACLMessage msg)VectorBaseInitiator. prepareRequests(ACLMessage msg)Constructors in jade.core.behaviours with parameters of type ACLMessage Constructor Description SenderBehaviour(Agent a, ACLMessage msg)Send a given ACL message. -
Uses of ACLMessage in jade.core.event
Methods in jade.core.event that return ACLMessage Modifier and Type Method Description ACLMessageMessageEvent. getMessage()Constructors in jade.core.event with parameters of type ACLMessage Constructor Description MessageEvent(int id, ACLMessage msg, AID s, AID r, ContainerID cid)MessageEvent(int id, ACLMessage msg, Channel f, Channel t, ContainerID cid) -
Uses of ACLMessage in jade.core.messaging
Methods in jade.core.messaging that return ACLMessage Modifier and Type Method Description ACLMessageIncomingEncodingFilter. decodeMessage(Envelope env, byte[] payload)Decodes an endoded ACL message according to the acl-representation described in the envelope.ACLMessageGenericMessage. getACLMessage()Methods in jade.core.messaging with parameters of type ACLMessage Modifier and Type Method Description longMatchAllFilter. delayBeforeExpiration(ACLMessage msg)Match all possible messageslongPersistentDeliveryFilter. delayBeforeExpiration(ACLMessage msg)The application-specific method to control which messages are to be buffered and for how long.byte[]OutgoingEncodingFilter. encodeMessage(ACLMessage msg)Encodes an ACL message according to the acl-representation described in the envelope.voidOutgoingEncodingFilter. prepareEnvelope(ACLMessage msg, AID receiver, GenericMessage gmsg)This method puts into the envelope the missing information if requiredvoidGenericMessage. setACLMessage(ACLMessage msg)voidGenericMessage. update(ACLMessage msg, Envelope env, byte[] payload)Constructors in jade.core.messaging with parameters of type ACLMessage Constructor Description GenericMessage(ACLMessage msg) -
Uses of ACLMessage in jade.domain
Fields in jade.domain declared as ACLMessage Modifier and Type Field Description protected ACLMessageFIPAException. msgMethods in jade.domain that return ACLMessage Modifier and Type Method Description static ACLMessageDFService. createCancelMessage(Agent a, AID dfName, ACLMessage subscribe)Utility method that creates a suitable message to be used to CANCEL a subscription to a DF agent.static ACLMessageDFService. createRequestMessage(Agent a, AID dfName, String action, DFAgentDescription dfd, SearchConstraints constraints)Utility method that creates a suitable message to be used to REQUEST a DF agent to perform a given action of the FIPA-Management-ontology.static ACLMessageDFService. createSubscriptionMessage(Agent a, AID dfName, DFAgentDescription template, SearchConstraints constraints)Utility method that creates a suitable message to be used to SUBSCRIBE to a DF agent in order to receive notifications when a new DF-Description matching the indicated template is registererd with that DF.static ACLMessageFIPAService. doFipaRequestClient(Agent a, ACLMessage request)This method plays the initiator role in the Fipa-Request interaction protocol and performs all the steps of the protocol.static ACLMessageFIPAService. doFipaRequestClient(Agent a, ACLMessage request, long timeout)This method plays the initiator role in the Fipa-Request interaction protocol and performs all the steps of the protocol, and additionally sets a conversation timeout.ACLMessageFIPAException. getACLMessage()Retrieve the ACL message whose content is represented by this exception.ACLMessageRequestFIPAServiceBehaviour. getLastMsg()This public method allows to get the INFORM message received in the final state of this FIPA-Request protocol.static ACLMessageDFService. getSubscriptionMessage(Agent a, AID dfName, DFAgentDescription template, SearchConstraints constraints)Deprecated.UsecreateSubscriptionMessage()insteadprotected abstract ACLMessageRequestManagementBehaviour. performAction(Action slAction, ACLMessage request)protected ACLMessageRequestManagementBehaviour. prepareResponse(ACLMessage request)protected ACLMessageRequestManagementBehaviour. prepareResultNotification(ACLMessage request, ACLMessage response)Just return the (already prepared) notification message (if any).Methods in jade.domain with parameters of type ACLMessage Modifier and Type Method Description static ACLMessageDFService. createCancelMessage(Agent a, AID dfName, ACLMessage subscribe)Utility method that creates a suitable message to be used to CANCEL a subscription to a DF agent.static ACLMessageFIPAService. doFipaRequestClient(Agent a, ACLMessage request)This method plays the initiator role in the Fipa-Request interaction protocol and performs all the steps of the protocol.static ACLMessageFIPAService. doFipaRequestClient(Agent a, ACLMessage request, long timeout)This method plays the initiator role in the Fipa-Request interaction protocol and performs all the steps of the protocol, and additionally sets a conversation timeout.static AIDAMSService. getFailedReceiver(Agent a, ACLMessage failure)Extracts the receiver a message could not be delivered to from a FAILURE message received by the AMS.static StringAMSService. getFailureReason(Agent a, ACLMessage failure)protected voidRequestFIPAServiceBehaviour. handleAgree(ACLMessage reply)Method to handleagreereplies.protected voidRequestFIPAServiceBehaviour. handleFailure(ACLMessage reply)Method to handlefailurereplies.protected voidDFSubscriber. handleInform(ACLMessage inform)protected voidRequestFIPAServiceBehaviour. handleInform(ACLMessage reply)Method to handleinformreplies.protected voidRequestFIPAServiceBehaviour. handleNotUnderstood(ACLMessage reply)Method to handlenot-understoodreplies.protected voidRequestFIPAServiceBehaviour. handleOutOfSequence(ACLMessage reply)Method to handle out of sequence replies.protected voidRequestFIPAServiceBehaviour. handleRefuse(ACLMessage reply)Method to handlerefusereplies.protected abstract ACLMessageRequestManagementBehaviour. performAction(Action slAction, ACLMessage request)protected ACLMessageRequestManagementBehaviour. prepareResponse(ACLMessage request)protected ACLMessageRequestManagementBehaviour. prepareResultNotification(ACLMessage request, ACLMessage response)Just return the (already prepared) notification message (if any).Constructors in jade.domain with parameters of type ACLMessage Constructor Description FIPAException(ACLMessage message)Constructs aFIPAExceptionfrom the given ACL message. -
Uses of ACLMessage in jade.domain.FIPAAgentManagement
Methods in jade.domain.FIPAAgentManagement that return ACLMessage Modifier and Type Method Description ACLMessageFailureException. getACLMessage()ACLMessageRefuseException. getACLMessage()Constructors in jade.domain.FIPAAgentManagement with parameters of type ACLMessage Constructor Description FailureException(ACLMessage failure)NotUnderstoodException(ACLMessage notUnderstood)RefuseException(ACLMessage refuse) -
Uses of ACLMessage in jade.domain.introspection
Methods in jade.domain.introspection that return ACLMessage Modifier and Type Method Description ACLMessageAMSSubscriber. getCancel()Retrieve thecancelACL message used to cancel the subscription to the AMS.ACLMessageAMSSubscriber. getSubscribe()Retrieve thesubscribeACL message used to subscribe to the AMS.Methods in jade.domain.introspection with parameters of type ACLMessage Modifier and Type Method Description protected voidIntrospectionServer. reply(ACLMessage request, int performative)protected voidIntrospectionServer. serveGetKeys(ACLMessage request, Action aExpr, GetKeys action)protected voidIntrospectionServer. serveGetValue(ACLMessage request, Action aExpr, GetValue action)protected voidIntrospectionServer. serveUnknownAction(ACLMessage request, Action aExpr, Object action) -
Uses of ACLMessage in jade.gui
Methods in jade.gui that return ACLMessage Modifier and Type Method Description static ACLMessageAclGui. editMsgInDialog(ACLMessage msg, Frame parent)Pops up a dialog window including an editing-enabled AclGui panel and displays the specified ACL message in it.ACLMessageAclGui. getMsg()Get the ACL message currently displayed by the AclGui panelMethods in jade.gui with parameters of type ACLMessage Modifier and Type Method Description static ACLMessageAclGui. editMsgInDialog(ACLMessage msg, Frame parent)Pops up a dialog window including an editing-enabled AclGui panel and displays the specified ACL message in it.voidAclGui. setMsg(ACLMessage msg)Displays the specified ACL message into the AclGui panelstatic voidAclGui. showMsgInDialog(ACLMessage msg, Frame parent)Pops up a dialog window including an editing-disabled AclGui panel and displays the specified ACL message in it. -
Uses of ACLMessage in jade.imtp.leap
Methods in jade.imtp.leap with parameters of type ACLMessage Modifier and Type Method Description voidFrontEndStub. messageIn(ACLMessage msg, String receiver)voidBackEndStub. messageOut(ACLMessage msg, String sender) -
Uses of ACLMessage in jade.lang.acl
Methods in jade.lang.acl that return ACLMessage Modifier and Type Method Description ACLMessageACLMessage. createReply()create a new ACLMessage that is a reply to this message.ACLMessageACLMessage. createReply(int performative)ACLMessageACLCodec. decode(byte[] data, String charset)Recovers anACLMessageobject back from raw data, using the specific message representation to interpret the byte sequence.ACLMessageLEAPACLCodec. decode(byte[] data, String charset)Recovers anACLMessageobject back from raw data, using the specific message representation to interpret the byte sequence.ACLMessageStringACLCodec. decode()decode and parses the next message from the Reader passed in the constructor.ACLMessageStringACLCodec. decode(byte[] data, String charset)static ACLMessageLEAPACLCodec. deserializeACL(DataInputStream dis)ACLMessageACLParser. Message()ACLMessageACLParser. parse(Reader text)ACLMessageACLMessage. shallowClone()Normal clone() method actually perform a deep-clone of the ACLMessage object.Methods in jade.lang.acl with parameters of type ACLMessage Modifier and Type Method Description byte[]ACLCodec. encode(ACLMessage msg, String charset)Encodes anACLMessageobject into a byte sequence, according to the specific message representation.byte[]LEAPACLCodec. encode(ACLMessage msg, String charset)Encodes anACLMessageobject into a byte sequence, according to the specific message representation.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.booleanMessageTemplate. match(ACLMessage msg)Matches an ACL message against thisMessageTemplateobject.booleanMessageTemplate.MatchExpression. match(ACLMessage msg)Check whether a given ACL message matches this template.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 voidLEAPACLCodec. serializeACL(ACLMessage msg, DataOutputStream dos)voidStringACLCodec. write(ACLMessage msg)encodes the message and writes it into the Writer passed in the constructor. -
Uses of ACLMessage in jade.proto
Methods in jade.proto that return ACLMessage Modifier and Type Method Description ACLMessageSubscriptionResponder.Subscription. getMessage()Retrieve the ACL message with which this subscription object was created.protected ACLMessageContractNetResponder. handleAcceptProposal(ACLMessage cfp, ACLMessage propose, ACLMessage accept)Redefine this method to call prepareResultNotification()protected ACLMessageSSContractNetResponder. handleAcceptProposal(ACLMessage cfp, ACLMessage propose, ACLMessage accept)This method is called when an ACCEPT_PROPOSAL message is received from the initiator.protected ACLMessageTwoPhResponder. handleAcceptProposal(ACLMessage accept)This method is called after theACCEPT-PROPOSALhas been received.protected ACLMessageSubscriptionResponder. handleCancel(ACLMessage cancel)This method is called when a CANCEL message is received for a previous subscription.protected ACLMessageContractNetResponder. handleCfp(ACLMessage cfp)Redefine this method to call prepareResponse()protected ACLMessageSSContractNetResponder. handleCfp(ACLMessage cfp)This method is called to handle the initial CFP message.protected ACLMessageTwoPhResponder. handleCfp(ACLMessage cfp)This method is called when the initiator's message is received that matches the message template passed in the constructor.protected ACLMessageTwoPhResponder. handleQueryIf(ACLMessage queryIf)This method is called after theQUERY-IFhas been received.protected ACLMessageTwoPhResponder. handleRejectProposal(ACLMessage reject)This method is called after theREJECT-PROPOSALhas been received.protected ACLMessageAchieveREResponder. handleRequest(ACLMessage request)This method is called when the protocol initiation message (matching the MessageTemplate specified in the constructor) is received.protected ACLMessageSSIteratedAchieveREResponder. handleRequest(ACLMessage request)This method is called to handle the initial REQUEST message and then again whenever a REQUEST message is received.protected ACLMessageSubscriptionResponder. handleSubscription(ACLMessage subscription)This method is called when a subscription message is received that matches the message template specified in the constructor.protected ACLMessageSimpleAchieveREInitiator. prepareRequest(ACLMessage msg)This method must return the ACLMessage to be sent.protected ACLMessageAchieveREResponder. prepareResponse(ACLMessage request)Deprecated.Use handleRequest() insteadprotected ACLMessageContractNetResponder. prepareResponse(ACLMessage cfp)Deprecated.UsehandleCfp()insteadprotected ACLMessageProposeResponder. prepareResponse(ACLMessage propose)This method is called when the initiator's message is received that matches the message template passed in the constructor.protected ACLMessageSimpleAchieveREResponder. prepareResponse(ACLMessage request)This method is called when the initiator's message is received that matches the message template passed in the constructor.protected ACLMessageSubscriptionResponder. prepareResponse(ACLMessage subscription)Deprecated.Use handleSubscription() insteadprotected ACLMessageAchieveREResponder. prepareResultNotification(ACLMessage request, ACLMessage response)This method is called after the execution of the handleRequest() method if no response was sent or the response was anAGREEmessage.protected ACLMessageContractNetResponder. prepareResultNotification(ACLMessage cfp, ACLMessage propose, ACLMessage accept)Deprecated.UsehandleAcceptProposal()instead.protected ACLMessageSimpleAchieveREResponder. prepareResultNotification(ACLMessage request, ACLMessage response)This method is called after the response has been sent and only when one of the folliwing two cases arise: the response was anagreemessage OR no response message was sent.Methods in jade.proto with parameters of type ACLMessage Modifier and Type Method Description protected voidProposeInitiator. adjustReplyTemplate(ACLMessage msg)protected voidSSContractNetResponder. afterReply(ACLMessage reply)protected voidSSIteratedContractNetResponder. afterReply(ACLMessage reply)protected voidSSContractNetResponder. beforeReply(ACLMessage reply)protected voidSSIteratedAchieveREResponder. beforeReply(ACLMessage reply)protected voidSSIteratedContractNetResponder. beforeReply(ACLMessage reply)protected booleanAchieveREInitiator. checkInSequence(ACLMessage reply)Check whether a reply is in-sequence and update the appropriate Sessionprotected booleanContractNetInitiator. checkInSequence(ACLMessage reply)Check whether a reply is in-sequence and update the appropriate Sessionprotected booleanProposeInitiator. checkInSequence(ACLMessage reply)Check whether a reply is in-sequence and update the appropriate Session.protected booleanSSContractNetResponder. checkInSequence(ACLMessage received)protected booleanSSIteratedAchieveREResponder. checkInSequence(ACLMessage received)protected booleanSSIteratedContractNetResponder. checkInSequence(ACLMessage received)protected booleanSubscriptionInitiator. checkInSequence(ACLMessage reply)Check whether a reply is in-sequence and update the appropriate Session.protected booleanTwoPh0Initiator. checkInSequence(ACLMessage reply)Check whether a reply is in-sequence and than update the appropriate Session and removes corresponding cfp from vector of pendings.protected booleanTwoPh1Initiator. checkInSequence(ACLMessage reply)Check whether a reply is in-sequence and than update the appropriate Session and removes corresponding queryif from vector of pendings.protected booleanTwoPh2Initiator. checkInSequence(ACLMessage reply)Check whether a reply is in-sequence and than update the appropriate Session and removes corresponding accept/reject-proposal from vector of pendings.protected booleanTwoPhResponder. checkInSequence(ACLMessage received)protected intAchieveREInitiator. checkSessions(ACLMessage reply)Check the status of the sessions after the reception of the last reply or the expiration of the timeoutprotected intContractNetInitiator. checkSessions(ACLMessage reply)Check the status of the sessions after the reception of the last reply or the expiration of the timeoutprotected intProposeInitiator. checkSessions(ACLMessage reply)Check the status of the sessions after the reception of the last reply or the expiration of the timeout.protected intSubscriptionInitiator. checkSessions(ACLMessage reply)Check the status of the sessions after the reception of the last reply or the expiration of the timeout.protected intTwoPh0Initiator. checkSessions(ACLMessage reply)Check if there are still active sessions or if timeout is expired.protected intTwoPh1Initiator. checkSessions(ACLMessage reply)Check if there are still active sessions or if timeout is expired.protected intTwoPh2Initiator. checkSessions(ACLMessage reply)Check if there are still active sessions or if timeout is expired.protected abstract BehaviourSSResponderDispatcher. createResponder(ACLMessage initiationMsg)This method is responsible for creating a suitableBehaviouracting as responder in the interaction protocol initiated by messageinitiationMsg.SubscriptionResponder.SubscriptionSubscriptionResponder. createSubscription(ACLMessage subsMsg)Utility method to correctly create a newSubscriptionobject managed by thisSubscriptionResponderprotected voidSubscriptionInitiator. fillCancelContent(ACLMessage subscription, ACLMessage cancel)This method is used to fill the:contentslot of the CANCEL message that is being sent to an agent to cancel the subscription previously activated by means of thesubscriptionmessage.protected jade.proto.Initiator.ProtocolSessionAchieveREInitiator. getSession(ACLMessage msg, int sessionIndex)protected jade.proto.Initiator.ProtocolSessionContractNetInitiator. getSession(ACLMessage msg, int sessionIndex)protected jade.proto.Initiator.ProtocolSessionIteratedAchieveREInitiator. getSession(ACLMessage msg, int sessionIndex)protected jade.proto.Initiator.ProtocolSessionSubscriptionInitiator. getSession(ACLMessage msg, int sessionIndex)protected jade.proto.Initiator.ProtocolSessionTwoPh0Initiator. getSession(ACLMessage msg, int sessionIndex)protected jade.proto.Initiator.ProtocolSessionTwoPh1Initiator. getSession(ACLMessage msg, int sessionIndex)protected jade.proto.Initiator.ProtocolSessionTwoPh2Initiator. getSession(ACLMessage msg, int sessionIndex)SubscriptionResponder.SubscriptionSubscriptionResponder. getSubscription(ACLMessage msg)Utility method to correctly retrieve theSubscriptionobject that is related to the conversation messagemsgbelongs to.protected ACLMessageContractNetResponder. handleAcceptProposal(ACLMessage cfp, ACLMessage propose, ACLMessage accept)Redefine this method to call prepareResultNotification()protected voidProposeInitiator. handleAcceptProposal(ACLMessage accept_proposal)This method is called every time anaccept-proposalmessage is received, which is not out-of-sequence according to the protocol rules.protected ACLMessageSSContractNetResponder. handleAcceptProposal(ACLMessage cfp, ACLMessage propose, ACLMessage accept)This method is called when an ACCEPT_PROPOSAL message is received from the initiator.protected ACLMessageTwoPhResponder. handleAcceptProposal(ACLMessage accept)This method is called after theACCEPT-PROPOSALhas been received.protected voidAchieveREInitiator. handleAgree(ACLMessage agree)This method is called every time anagreemessage is received, which is not out-of-sequence according to the protocol rules.protected voidSimpleAchieveREInitiator. handleAgree(ACLMessage msg)This method is called every time anagreemessage is received, which is not out-of-sequence according to the protocol rules.protected voidSubscriptionInitiator. handleAgree(ACLMessage agree)This method is called every time anagreemessage is received, which is not out-of-sequence according to the protocol rules.protected voidSSIteratedAchieveREResponder. handleCancel(ACLMessage cancel)This method is called when a CANCEL message is received from the initiator.protected ACLMessageSubscriptionResponder. handleCancel(ACLMessage cancel)This method is called when a CANCEL message is received for a previous subscription.protected ACLMessageContractNetResponder. handleCfp(ACLMessage cfp)Redefine this method to call prepareResponse()protected ACLMessageSSContractNetResponder. handleCfp(ACLMessage cfp)This method is called to handle the initial CFP message.protected ACLMessageTwoPhResponder. handleCfp(ACLMessage cfp)This method is called when the initiator's message is received that matches the message template passed in the constructor.protected voidTwoPh1Initiator. handleConfirm(ACLMessage confirm)This method is called every time aconfirmmessage is received, which is not out-of-sequence according to the protocol rules.protected voidTwoPhInitiator. handleConfirm(ACLMessage confirm)This method is called every time aconfirmmessage is received, which is not out-of-sequence according to the protocol rules.protected voidTwoPh1Initiator. handleDisconfirm(ACLMessage disconfirm)This method is called every time adisconfirmmessage is received, which is not out-of-sequence according to the protocol rules.protected voidTwoPhInitiator. handleDisconfirm(ACLMessage disconfirm)This method is called every time adisconfirmmessage is received, which is not out-of-sequence according to the protocol rules.protected voidSimpleAchieveREInitiator. handleFailure(ACLMessage msg)This method is called every time afailuremessage is received, which is not out-of-sequence according to the protocol rules.protected voidTwoPhInitiator. handleFailure(ACLMessage failure)This method is called every time afailuremessage is received, which is not out-of-sequence according to the protocol rules.protected voidAchieveREInitiator. handleInform(ACLMessage inform)This method is called every time ainformmessage is received, which is not out-of-sequence according to the protocol rules.protected voidContractNetInitiator. handleInform(ACLMessage inform)This method is called every time ainformmessage is received, which is not out-of-sequence according to the protocol rules.protected voidIteratedAchieveREInitiator. handleInform(ACLMessage inform)This method is redefined to call the proper overloaded methodprotected voidIteratedAchieveREInitiator. handleInform(ACLMessage inform, Vector nextRequests)This method is called every time aninformmessage is received, which is not out-of-sequence according to the protocol rules.protected voidSimpleAchieveREInitiator. handleInform(ACLMessage msg)This method is called every time ainformmessage is received, which is not out-of-sequence according to the protocol rules.protected voidSubscriptionInitiator. handleInform(ACLMessage inform)This method is called every time ainformmessage is received, which is not out-of-sequence according to the protocol rules.protected voidTwoPh1Initiator. handleInform(ACLMessage inform)This method is called every time ainformmessage is received, which is not out-of-sequence according to the protocol rules.protected voidTwoPh2Initiator. handleInform(ACLMessage inform)This method is called every time ainformmessage is received, which is not out-of-sequence according to the protocol rules.protected voidProposeInitiator. handleNotUnderstood(ACLMessage notUnderstood)This method is called every time anot-understoodmessage is received, which is not out-of-sequence according to the protocol rules.protected voidSimpleAchieveREInitiator. handleNotUnderstood(ACLMessage msg)This method is called every time anot-understoodmessage is received, which is not out-of-sequence according to the protocol rules.protected voidTwoPhInitiator. handleNotUnderstood(ACLMessage notUnderstood)protected voidTwoPh2Initiator. handleOldResponse(ACLMessage old)This method is called every time afailure, adisconfirmor aninformmessage is received, which is not out-of-sequence according to the protocol rules.protected voidTwoPhInitiator. handleOldResponse(ACLMessage old)This method is called every time afailure, adisconfirmor aninformmessage is received in phase 2, which is not out-of-sequence according to the protocol rules.protected voidProposeInitiator. handleOutOfSequence(ACLMessage msg)This method is called every time a message is received, which is out-of-sequence according to the protocol rules.protected voidSimpleAchieveREInitiator. handleOutOfSequence(ACLMessage msg)This method is called every time a message is received, which is out-of-sequence according to the protocol rules.protected voidSSContractNetResponder. handleOutOfSequence(ACLMessage msg)Redefine this method to call the overloaded version with 3 parameters.protected voidSSContractNetResponder. handleOutOfSequence(ACLMessage cfp, ACLMessage propose, ACLMessage msg)This method is called whenever a message is received that does not comply to the protocol rules.protected voidTwoPhInitiator. handleOutOfSequence(ACLMessage msg)This method is called every time a message is received in phase n (usegetCurrentPhasemethod to know the phase), which is out-of-sequence according to the protocol rules.protected voidTwoPhInitiator. handlePh1Inform(ACLMessage inform)This method is called every time aninformmessage in phase 1 is received, which is not out-of-sequence according to the protocol rules.protected voidTwoPhInitiator. handlePh2Inform(ACLMessage inform)This method is called every time aninformmessage in phase 2 is received, which is not out-of-sequence according to the protocol rules.protected voidContractNetInitiator. handlePropose(ACLMessage propose, Vector acceptances)This method is called every time aproposemessage is received, which is not out-of-sequence according to the protocol rules.protected voidTwoPh0Initiator. handlePropose(ACLMessage propose)This method is called every time aproposemessage is received, which is not out-of-sequence according to the protocol rules.protected voidTwoPhInitiator. handlePropose(ACLMessage propose)This method is called every time aproposemessage is received, which is not out-of-sequence according to the protocol rules.protected ACLMessageTwoPhResponder. handleQueryIf(ACLMessage queryIf)This method is called after theQUERY-IFhas been received.protected voidAchieveREInitiator. handleRefuse(ACLMessage refuse)This method is called every time arefusemessage is received, which is not out-of-sequence according to the protocol rules.protected voidContractNetInitiator. handleRefuse(ACLMessage refuse)This method is called every time arefusemessage is received, which is not out-of-sequence according to the protocol rules.protected voidSimpleAchieveREInitiator. handleRefuse(ACLMessage msg)This method is called every time arefusemessage is received, which is not out-of-sequence according to the protocol rules.protected voidSubscriptionInitiator. handleRefuse(ACLMessage refuse)This method is called every time arefusemessage is received, which is not out-of-sequence according to the protocol rules.protected voidProposeInitiator. handleRejectProposal(ACLMessage reject_proposal)This method is called every time anreject-proposalmessage is received, which is not out-of-sequence according to the protocol rules.protected voidSSContractNetResponder. handleRejectProposal(ACLMessage cfp, ACLMessage propose, ACLMessage reject)This method is called when a REJECT_PROPOSAL message is received from the initiator.protected ACLMessageTwoPhResponder. handleRejectProposal(ACLMessage reject)This method is called after theREJECT-PROPOSALhas been received.protected ACLMessageAchieveREResponder. handleRequest(ACLMessage request)This method is called when the protocol initiation message (matching the MessageTemplate specified in the constructor) is received.protected ACLMessageSSIteratedAchieveREResponder. handleRequest(ACLMessage request)This method is called to handle the initial REQUEST message and then again whenever a REQUEST message is received.protected ACLMessageSubscriptionResponder. handleSubscription(ACLMessage subscription)This method is called when a subscription message is received that matches the message template specified in the constructor.protected voidAchieveREInitiator. initializeDataStore(ACLMessage msg)Initialize the data store.protected voidContractNetInitiator. initializeDataStore(ACLMessage msg)Initialize the data store.protected voidIteratedAchieveREInitiator. initializeDataStore(ACLMessage msg)protected voidProposeInitiator. initializeDataStore(ACLMessage msg)Initialize the data store.protected voidSubscriptionInitiator. initializeDataStore(ACLMessage msg)Initialize the data store.protected voidTwoPh0Initiator. initializeDataStore(ACLMessage msg)Initialize the data store.protected voidTwoPh1Initiator. initializeDataStore(ACLMessage msg)Initialize the data store.protected voidTwoPh2Initiator. initializeDataStore(ACLMessage msg)Initialize the data store.static booleanIteratedAchieveREInitiator. isSessionTerminated(ACLMessage inform)Check if the responder has closed the session just after sending thisinformmessage.voidSubscriptionResponder.Subscription. notify(ACLMessage notification)This method allows sending back a notification message to the subscribed agent associated to thisSubscriptionobject.protected VectorTwoPh2Initiator. prepareAcceptances(ACLMessage acceptance)This method must return the vector of ACLMessage objects to be sent.protected VectorContractNetInitiator. prepareCfps(ACLMessage cfp)This method must return the vector of ACLMessage objects to be sent.protected VectorTwoPh0Initiator. prepareCfps(ACLMessage cfp)This method must return the vector of ACLMessage objects to be sent.protected VectorTwoPhInitiator. prepareCfps(ACLMessage cfp)This method must return the vector of ACLMessage objects to be sent.protected VectorAchieveREInitiator. prepareInitiations(ACLMessage initiation)protected VectorContractNetInitiator. prepareInitiations(ACLMessage initiation)protected VectorProposeInitiator. prepareInitiations(ACLMessage propose)This method must return the vector of ACLMessage objects to be sent.protected VectorSubscriptionInitiator. prepareInitiations(ACLMessage initiation)This method is called internally by the framework and is not intended to be called by the userprotected VectorTwoPh0Initiator. prepareInitiations(ACLMessage initiation)Prepare vector containing cfps.protected VectorTwoPh1Initiator. prepareInitiations(ACLMessage initiation)Prepare vector containing queryIfs.protected VectorTwoPh2Initiator. prepareInitiations(ACLMessage initiation)Returns vector of accept/reject-proposal stored in the data store at keyinputKeyfrom previouse phase.protected VectorTwoPh1Initiator. prepareQueryIfs(ACLMessage queryIf)This method must return the vector of ACLMessage objects to be sent.protected ACLMessageSimpleAchieveREInitiator. prepareRequest(ACLMessage msg)This method must return the ACLMessage to be sent.protected VectorAchieveREInitiator. prepareRequests(ACLMessage request)This method must return the vector of ACLMessage objects to be sent.protected ACLMessageAchieveREResponder. prepareResponse(ACLMessage request)Deprecated.Use handleRequest() insteadprotected ACLMessageContractNetResponder. prepareResponse(ACLMessage cfp)Deprecated.UsehandleCfp()insteadprotected ACLMessageProposeResponder. prepareResponse(ACLMessage propose)This method is called when the initiator's message is received that matches the message template passed in the constructor.protected ACLMessageSimpleAchieveREResponder. prepareResponse(ACLMessage request)This method is called when the initiator's message is received that matches the message template passed in the constructor.protected ACLMessageSubscriptionResponder. prepareResponse(ACLMessage subscription)Deprecated.Use handleSubscription() insteadprotected ACLMessageAchieveREResponder. prepareResultNotification(ACLMessage request, ACLMessage response)This method is called after the execution of the handleRequest() method if no response was sent or the response was anAGREEmessage.protected ACLMessageContractNetResponder. prepareResultNotification(ACLMessage cfp, ACLMessage propose, ACLMessage accept)Deprecated.UsehandleAcceptProposal()instead.protected ACLMessageSimpleAchieveREResponder. prepareResultNotification(ACLMessage request, ACLMessage response)This method is called after the response has been sent and only when one of the folliwing two cases arise: the response was anagreemessage OR no response message was sent.protected VectorSubscriptionInitiator. prepareSubscriptions(ACLMessage subscription)This method must return the vector of subscription ACLMessage objects to be sent.voidProposeInitiator. reset(ACLMessage msg)reset this behaviourvoidSimpleAchieveREInitiator. reset(ACLMessage msg)This method resets this behaviour so that it restarts the protocol with another request message.voidSSIteratedAchieveREResponder. sendAgree(ACLMessage agree)Utility method to send an optional AGREE message back to the initiator ensuring that all protocol fields are properly set.Constructors in jade.proto with parameters of type ACLMessage Constructor Description AchieveREInitiator(Agent a, ACLMessage msg)Construct anAchieveREInitiatorwith an empty DataStoreAchieveREInitiator(Agent a, ACLMessage msg, DataStore store)Construct anAchieveREInitiatorwith a given DataStoreContractNetInitiator(Agent a, ACLMessage cfp)Constructor for the class that creates a new empty DataStoreContractNetInitiator(Agent a, ACLMessage cfp, DataStore store)Constructs aContractNetInitiatorbehaviourIteratedAchieveREInitiator(Agent a, ACLMessage msg)Construct anIteratedAchieveREInitiatorwith an empty DataStoreIteratedAchieveREInitiator(Agent a, ACLMessage msg, DataStore store)Construct anIteratedAchieveREInitiatorwith a given DataStoreProposeInitiator(Agent a, ACLMessage msg)Construct aProposeInitiatorwith an empty DataStoreProposeInitiator(Agent a, ACLMessage initiation, DataStore store)Construct aProposeInitiatorwith a given DataStoreSimpleAchieveREInitiator(Agent a, ACLMessage msg)Construct for the class by creating a new empty DataStoreSimpleAchieveREInitiator(Agent a, ACLMessage msg, DataStore store)Constructs aSimpleAchieveREInitiatorbehaviourSSContractNetResponder(Agent a, ACLMessage cfp)Construct a SSContractNetResponder that is activated by the reception of a given initiation CFP message.SSContractNetResponder(Agent a, ACLMessage cfp, DataStore store)Construct a SSContractNetResponder that is activated by the reception of a given initiation CFP message and uses a given DataStore.SSIteratedAchieveREResponder(Agent a, ACLMessage request)Construct a SSIteratedAchieveREResponder that is activated by the reception of a given initiation REQUEST message.SSIteratedAchieveREResponder(Agent a, ACLMessage request, DataStore store)Construct a SSIteratedAchieveREResponder that is activated by the reception of a given initiation REQUEST message and uses a given DataStore.SSIteratedContractNetResponder(Agent a, ACLMessage cfp)SSIteratedContractNetResponder(Agent a, ACLMessage cfp, DataStore store)Construct a SSIteratedContractNetResponder that is activated by the reception of a given initiation CFP message and uses a given DataStore.SubscriptionInitiator(Agent a, ACLMessage msg)Construct aSubscriptionInitiatorwith an empty DataStoreSubscriptionInitiator(Agent a, ACLMessage msg, DataStore store)Construct aSubscriptionInitiatorwith a given DataStoreTwoPh0Initiator(Agent a, ACLMessage cfp, String outputKey)Constructs aTwoPh0Initiatorbehaviour.TwoPh0Initiator(Agent a, ACLMessage cfp, String outputKey, DataStore store)Constructs aTwoPh0Initiatorbehaviour.TwoPh1Initiator(Agent a, ACLMessage queryIf, String outputKey)Constructs aTwoPh1Initiatorbehaviour.TwoPh1Initiator(Agent a, ACLMessage queryIf, String outputKey, DataStore store)Constructs aTwoPh1Initiatorbehaviour.TwoPh2Initiator(Agent a, ACLMessage acceptance)Constructs aTwoPh2Initiatorbehaviour.TwoPh2Initiator(Agent a, ACLMessage acceptance, DataStore store)Constructs aTwoPh2Initiatorbehaviour.TwoPhInitiator(Agent a, ACLMessage cfp)Constructs aTwoPhInitiatorbehaviour.TwoPhInitiator(Agent a, ACLMessage cfp, DataStore ds)Constructs aTwoPhInitiatorbehaviour. -
Uses of ACLMessage in jade.proto.states
Methods in jade.proto.states with parameters of type ACLMessage Modifier and Type Method Description static voidReplySender. adjustReply(Agent myAgent, ACLMessage reply, ACLMessage msg)Adjust all protocol fields and receivers in a reply to a given message.protected voidMsgReceiver. handleMessage(ACLMessage msg)This is invoked when a message matching the specified template is received or the timeout has expired (themsgparameter is null in this case). -
Uses of ACLMessage in jade.security
Methods in jade.security with parameters of type ACLMessage Modifier and Type Method Description CredentialsCredentialsHelper. getCredentials(ACLMessage msg)Retrieve the credentials of the sender of a signed ACLMessage.JADEPrincipalCredentialsHelper. getPrincipal(ACLMessage msg)Retrieve the principal of the sender of a signed ACLMessage. -
Uses of ACLMessage in jade.tools
Methods in jade.tools that return ACLMessage Modifier and Type Method Description protected ACLMessageToolAgent. getCancel()Retrieve thecancelACL message with which this tool agent removes its subscription with the AMS.protected ACLMessageToolAgent. getRequest()Retrieve therequestACL message with which this tool agent requests the AMS tool-specific actions.protected ACLMessageToolAgent. getSubscribe()Retrieve thesubscribeACL message with which this tool agent subscribed with the AMS. -
Uses of ACLMessage in jade.tools.applet
Methods in jade.tools.applet with parameters of type ACLMessage Modifier and Type Method Description protected voidFIPAAppletRequestProto. handleAgree(ACLMessage msg)protected voidJADEAppletRequestProto. handleAgree(ACLMessage msg)protected voidFIPAAppletRequestProto. handleFailure(ACLMessage msg)protected voidJADEAppletRequestProto. handleFailure(ACLMessage msg)voidFIPAAppletRequestProto. handleInform(ACLMessage msg)protected voidJADEAppletRequestProto. handleInform(ACLMessage msg)protected voidFIPAAppletRequestProto. handleNotUnderstood(ACLMessage msg)protected voidJADEAppletRequestProto. handleNotUnderstood(ACLMessage msg)protected voidFIPAAppletRequestProto. handleOtherMessage(ACLMessage msg)protected voidJADEAppletRequestProto. handleOtherMessage(ACLMessage msg)protected voidFIPAAppletRequestProto. handleRefuse(ACLMessage msg)protected voidJADEAppletRequestProto. handleRefuse(ACLMessage msg) -
Uses of ACLMessage in jade.tools.gui
Methods in jade.tools.gui that return ACLMessage Modifier and Type Method Description ACLMessageACLTracePanel. getCurrentACL()ACLMessageACLPanel. getItsMsg()Gets the ItsMsg attribute of the ACLPanel objectACLMessageACLMessageNode. getMessage()Gets the Message attribute of the MessageNode objectMethods in jade.tools.gui with parameters of type ACLMessage Modifier and Type Method Description voidACLTracePanel. addMessageNode(String direction, ACLMessage theACL)Adds a ACLMessage to the ListvoidACLTracePanel. addMessageNode(String direction, String theTime, ACLMessage theACL)Adds a ACLMessage to the ListvoidACLPropertyList. register(ACLMessage msg, String fieldName)Register ACLMessagevoidACLContentDialog. setItsContent(ACLMessage itsMsg)voidACLPanel. setItsMsg(ACLMessage msg)Sets the ItsMsg attribute of the ACLPanel objectvoidACLMessageNode. setMessage(ACLMessage msg)Sets the Message attribute of the MessageNode objectvoidACLFrame. setMsg(ACLMessage msg)Sets the ACLMessage of the Framestatic voidACLFrame. show(ACLMessage theMsg, Agent agent)show the ACLMessage, disabled -
Uses of ACLMessage in jade.tools.sniffer
Subclasses of ACLMessage in jade.tools.sniffer Modifier and Type Class Description classMessageA Message extends the meaning of an ACLMessage (thus extending jade.lang.acl.ACLMessage) providing an ACLMessage with the graphic part: the arrow going from the sender of the message to the receiver of the message to be drawn on the Message CanvasMethods in jade.tools.sniffer that return ACLMessage Modifier and Type Method Description ACLMessageSniffer. getSniffMsg(List agents, boolean onFlag)Creates the ACLMessage to be sent to the Ams with the list of the agents to be sniffed/unsniffed.Constructors in jade.tools.sniffer with parameters of type ACLMessage Constructor Description Message(ACLMessage msg, AID r) -
Uses of ACLMessage in jade.tools.SocketProxyAgent
Methods in jade.tools.SocketProxyAgent that return ACLMessage Modifier and Type Method Description ACLMessageJadeBridge. sendACL(String aMsg, long timeout)Sends an ACLMessage (in String form) to gateway and returns the reply.ACLMessageJadeBridge. sendMessage(ACLMessage aMsg)Send an ACL message and wait for the reply for a default timeout (1 min)ACLMessageJadeBridge. sendMessage(ACLMessage aMsg, long timeout)Send an ACL message and wait for the reply for a given timeout in msMethods in jade.tools.SocketProxyAgent with parameters of type ACLMessage Modifier and Type Method Description ACLMessageJadeBridge. sendMessage(ACLMessage aMsg)Send an ACL message and wait for the reply for a default timeout (1 min)ACLMessageJadeBridge. sendMessage(ACLMessage aMsg, long timeout)Send an ACL message and wait for the reply for a given timeout in ms -
Uses of ACLMessage in jade.tools.testagent
Methods in jade.tools.testagent that return ACLMessage Modifier and Type Method Description ACLMessageTestAgentFrame. getItsMsg()Gets the ItsMsg attribute of the TestAgentFrame objectACLMessageTestAgent. getPlatformRequest()Gets the PlatformRequest attribute of the TestAgent objectMethods in jade.tools.testagent with parameters of type ACLMessage Modifier and Type Method Description voidTestAgentFrame. addMessageNode(String direction, ACLMessage msg)Adds a feature to the MessageNode attribute of the TestAgentFrame objectvoidTestAgent. processIncomingMessage(ACLMessage msg)Description of the MethodvoidTestAgentFrame. setItsMsg(ACLMessage msg)Sets the ItsMsg attribute of the TestAgentFrame object
-