|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use ACLMessage | |
jade.content | |
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.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. 23 version H (15th August 2001). |
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.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 ACLMessage in jade.content |
Subclasses of ACLMessage in jade.content | |
class |
OntoACLMessage
Utility class that allow using an ACLMessage object
as an ontological agent action. |
Methods in jade.content with parameters of type ACLMessage | |
static OntoACLMessage |
OntoACLMessage.wrap(ACLMessage msg)
Create an ontological ACL message that wraps an existing ACLMessage . |
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 . |
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 . |
Uses of ACLMessage in jade.core |
Methods in jade.core that return ACLMessage | |
ACLMessage |
Agent.receive()
Receives an ACL message from the agent message queue. |
ACLMessage |
Agent.receive(MessageTemplate pattern)
Receives an ACL message matching a given template. |
ACLMessage |
Agent.blockingReceive()
Receives an ACL message from the agent message queue. |
ACLMessage |
Agent.blockingReceive(long millis)
Receives an ACL message from the agent message queue, waiting at most a specified amount of time. |
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. |
Methods in jade.core with parameters of type ACLMessage | |
void |
Agent.send(ACLMessage msg)
Send an ACL message to another agent. |
void |
Agent.putBack(ACLMessage msg)
Puts a received ACL message back into the message queue. |
void |
Agent.postMessage(ACLMessage msg)
Put a received message into the agent message queue. |
Uses of ACLMessage in jade.core.behaviours |
Methods in jade.core.behaviours with parameters of type ACLMessage | |
protected void |
LoaderBehaviour.addBehaviour(Behaviour b,
ACLMessage request)
Add a loaded behaviour to the agent. |
protected boolean |
LoaderBehaviour.accept(ACLMessage msg)
Suclasses may redefine this method to prevent the behaviour loading operation under specific conditions. |
Uses of ACLMessage in jade.domain |
Methods in jade.domain that return ACLMessage | |
static ACLMessage |
FIPAService.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 ACLMessage |
FIPAService.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. |
ACLMessage |
FIPAException.getACLMessage()
Retrieve the ACL message whose content is represented by this exception. |
static ACLMessage |
DFService.createRequestMessage(Agent a,
AID dfName,
java.lang.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 ACLMessage |
DFService.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 ACLMessage |
DFService.getSubscriptionMessage(Agent a,
AID dfName,
DFAgentDescription template,
SearchConstraints constraints)
Deprecated. Use createSubscriptionMessage() instead |
static ACLMessage |
DFService.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. |
Methods in jade.domain with parameters of type ACLMessage | |
static ACLMessage |
FIPAService.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 ACLMessage |
FIPAService.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 ACLMessage |
DFService.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 AID |
AMSService.getFailedReceiver(Agent a,
ACLMessage failure)
Extracts the receiver a message could not be delivered to from a FAILURE message received by the AMS. |
Constructors in jade.domain with parameters of type ACLMessage | |
FIPAException(ACLMessage message)
Constructs a FIPAException from the given ACL
message. |
Uses of ACLMessage in jade.domain.FIPAAgentManagement |
Methods in jade.domain.FIPAAgentManagement that return ACLMessage | |
ACLMessage |
RefuseException.getACLMessage()
|
ACLMessage |
NotUnderstoodException.getACLMessage()
|
ACLMessage |
FailureException.getACLMessage()
|
Uses of ACLMessage in jade.domain.introspection |
Methods in jade.domain.introspection that return ACLMessage | |
ACLMessage |
AMSSubscriber.getSubscribe()
Retrieve the subscribe ACL message used to subscribe
to the AMS.
|
ACLMessage |
AMSSubscriber.getCancel()
Retrieve the cancel ACL message
used to cancel the subscription to the AMS.
|
Methods in jade.domain.introspection with parameters of type ACLMessage | |
protected void |
IntrospectionServer.reply(ACLMessage request,
int performative)
|
protected void |
IntrospectionServer.serveGetKeys(ACLMessage request,
Action aExpr,
GetKeys action)
|
protected void |
IntrospectionServer.serveGetValue(ACLMessage request,
Action aExpr,
GetValue action)
|
protected void |
IntrospectionServer.serveUnknownAction(ACLMessage request,
Action aExpr,
java.lang.Object action)
|
Uses of ACLMessage in jade.lang.acl |
Methods in jade.lang.acl that return ACLMessage | |
ACLMessage |
StringACLCodec.decode()
decode and parses the next message from the Reader passed in the constructor. |
ACLMessage |
StringACLCodec.decode(byte[] data,
java.lang.String charset)
|
ACLMessage |
LEAPACLCodec.decode(byte[] data,
java.lang.String charset)
Recovers an ACLMessage object back from raw data,
using the specific message representation to interpret the byte
sequence. |
static ACLMessage |
LEAPACLCodec.deserializeACL(java.io.DataInputStream dis)
|
ACLMessage |
ACLMessage.createReply()
create a new ACLMessage that is a reply to this message. |
ACLMessage |
ACLCodec.decode(byte[] data,
java.lang.String charset)
Recovers an ACLMessage object back from raw data,
using the specific message representation to interpret the byte
sequence. |
Methods in jade.lang.acl with parameters of type ACLMessage | |
void |
StringACLCodec.write(ACLMessage msg)
encodes the message and writes it into the Writer passed in the constructor. |
byte[] |
StringACLCodec.encode(ACLMessage msg,
java.lang.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. |
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. |
boolean |
MessageTemplate.match(ACLMessage msg)
Matches an ACL message against this MessageTemplate
object. |
boolean |
MessageTemplate.MatchExpression.match(ACLMessage msg)
Check whether a given ACL message matches this template. |
byte[] |
LEAPACLCodec.encode(ACLMessage msg,
java.lang.String charset)
Encodes an ACLMessage object into a byte sequence,
according to the specific message representation. |
static void |
LEAPACLCodec.serializeACL(ACLMessage msg,
java.io.DataOutputStream dos)
|
byte[] |
ACLCodec.encode(ACLMessage msg,
java.lang.String charset)
Encodes an ACLMessage object into a byte sequence,
according to the specific message representation. |
Uses of ACLMessage in jade.proto |
Methods in jade.proto that return ACLMessage | |
protected ACLMessage |
TwoPhResponder.handleCfp(ACLMessage cfp)
This method is called when the initiator's message is received that matches the message template passed in the constructor. |
protected ACLMessage |
TwoPhResponder.handleQueryIf(ACLMessage queryIf)
This method is called after the QUERY-IF has been received.
|
protected ACLMessage |
TwoPhResponder.handleRejectProposal(ACLMessage reject)
This method is called after the REJECT-PROPOSAL has been received.
|
protected ACLMessage |
TwoPhResponder.handleAcceptProposal(ACLMessage accept)
This method is called after the ACCEPT-PROPOSAL has been received.
|
protected ACLMessage |
SubscriptionResponder.handleSubscription(ACLMessage subscription)
This method is called when a subscription message is received that matches the message template specified in the constructor. |
protected ACLMessage |
SubscriptionResponder.prepareResponse(ACLMessage subscription)
Deprecated. Use handleSubscription() instead |
protected ACLMessage |
SubscriptionResponder.handleCancel(ACLMessage cancel)
This method is called when a CANCEL message is received for a previous subscription. |
ACLMessage |
SubscriptionResponder.Subscription.getMessage()
Retrieve the ACL message with which this subscription object was created. |
protected ACLMessage |
SSIteratedAchieveREResponder.handleRequest(ACLMessage request)
This method is called to handle the initial REQUEST message and then again whenever a REQUEST message is received. |
protected ACLMessage |
SSContractNetResponder.handleCfp(ACLMessage cfp)
This method is called to handle the initial CFP message. |
protected ACLMessage |
SSContractNetResponder.handleAcceptProposal(ACLMessage cfp,
ACLMessage propose,
ACLMessage accept)
This method is called when an ACCEPT_PROPOSAL message is received from the initiator. |
protected ACLMessage |
SimpleAchieveREResponder.prepareResponse(ACLMessage request)
This method is called when the initiator's message is received that matches the message template passed in the constructor. |
protected ACLMessage |
SimpleAchieveREResponder.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 an agree message OR no response
message was sent.
|
protected ACLMessage |
SimpleAchieveREInitiator.prepareRequest(ACLMessage msg)
This method must return the ACLMessage to be sent. |
protected ACLMessage |
ProposeResponder.prepareResponse(ACLMessage propose)
This method is called when the initiator's message is received that matches the message template passed in the constructor. |
protected ACLMessage |
ContractNetResponder.prepareResponse(ACLMessage cfp)
Deprecated. Use handleCfp() instead |
protected ACLMessage |
ContractNetResponder.prepareResultNotification(ACLMessage cfp,
ACLMessage propose,
ACLMessage accept)
Deprecated. Use handleAcceptProposal() instead. |
protected ACLMessage |
AchieveREResponder.handleRequest(ACLMessage request)
This method is called when the protocol initiation message (matching the MessageTemplate specified in the constructor) is received. |
protected ACLMessage |
AchieveREResponder.prepareResponse(ACLMessage request)
Deprecated. Use handleRequest() instead |
protected ACLMessage |
AchieveREResponder.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 an AGREE message.
|
Methods in jade.proto with parameters of type ACLMessage | |
protected ACLMessage |
TwoPhResponder.handleCfp(ACLMessage cfp)
This method is called when the initiator's message is received that matches the message template passed in the constructor. |
protected ACLMessage |
TwoPhResponder.handleQueryIf(ACLMessage queryIf)
This method is called after the QUERY-IF has been received.
|
protected ACLMessage |
TwoPhResponder.handleRejectProposal(ACLMessage reject)
This method is called after the REJECT-PROPOSAL has been received.
|
protected ACLMessage |
TwoPhResponder.handleAcceptProposal(ACLMessage accept)
This method is called after the ACCEPT-PROPOSAL has been received.
|
protected java.util.Vector |
TwoPhInitiator.prepareCfps(ACLMessage cfp)
This method must return the vector of ACLMessage objects to be sent. |
protected void |
TwoPhInitiator.handlePropose(ACLMessage propose)
This method is called every time a propose message is received,
which is not out-of-sequence according to the protocol rules. |
protected void |
TwoPhInitiator.handleFailure(ACLMessage failure)
This method is called every time a failure message is received,
which is not out-of-sequence according to the protocol rules. |
protected void |
TwoPhInitiator.handleConfirm(ACLMessage confirm)
This method is called every time a confirm message is received,
which is not out-of-sequence according to the protocol rules. |
protected void |
TwoPhInitiator.handleDisconfirm(ACLMessage disconfirm)
This method is called every time a disconfirm message is received,
which is not out-of-sequence according to the protocol rules. |
protected void |
TwoPhInitiator.handlePh1Inform(ACLMessage inform)
This method is called every time an inform message in phase 1
is received, which is not out-of-sequence according to the protocol rules.
|
protected void |
TwoPhInitiator.handlePh2Inform(ACLMessage inform)
This method is called every time an inform message in phase 2
is received, which is not out-of-sequence according to the protocol rules.
|
protected void |
TwoPhInitiator.handleOldResponse(ACLMessage old)
This method is called every time a failure , a disconfirm
or an inform message is received in phase 2, which is not out-of-sequence
according to the protocol rules. |
protected void |
TwoPhInitiator.handleOutOfSequence(ACLMessage msg)
This method is called every time a message is received in phase n (use getCurrentPhase method to know the phase), which is
out-of-sequence according to the protocol rules. |
protected void |
TwoPhInitiator.handleNotUnderstood(ACLMessage notUnderstood)
|
protected java.util.Vector |
TwoPh2Initiator.prepareAcceptances(ACLMessage acceptance)
This method must return the vector of ACLMessage objects to be sent. |
protected void |
TwoPh2Initiator.handleInform(ACLMessage inform)
This method is called every time a inform message is received,
which is not out-of-sequence according to the protocol rules. |
protected void |
TwoPh2Initiator.handleOldResponse(ACLMessage old)
This method is called every time a failure , a disconfirm
or an inform message is received, which is not out-of-sequence
according to the protocol rules. |
protected ProtocolSession |
TwoPh2Initiator.getSession(ACLMessage msg,
int sessionIndex)
|
protected java.util.Vector |
TwoPh1Initiator.prepareQueryIfs(ACLMessage queryIf)
This method must return the vector of ACLMessage objects to be sent. |
protected void |
TwoPh1Initiator.handleConfirm(ACLMessage confirm)
This method is called every time a confirm message is received,
which is not out-of-sequence according to the protocol rules. |
protected void |
TwoPh1Initiator.handleDisconfirm(ACLMessage disconfirm)
This method is called every time a disconfirm message is received,
which is not out-of-sequence according to the protocol rules. |
protected void |
TwoPh1Initiator.handleInform(ACLMessage inform)
This method is called every time a inform message is received,
which is not out-of-sequence according to the protocol rules. |
protected ProtocolSession |
TwoPh1Initiator.getSession(ACLMessage msg,
int sessionIndex)
|
protected java.util.Vector |
TwoPh0Initiator.prepareCfps(ACLMessage cfp)
This method must return the vector of ACLMessage objects to be sent. |
protected void |
TwoPh0Initiator.handlePropose(ACLMessage propose)
This method is called every time a propose message is received,
which is not out-of-sequence according to the protocol rules. |
protected ProtocolSession |
TwoPh0Initiator.getSession(ACLMessage msg,
int sessionIndex)
|
protected ACLMessage |
SubscriptionResponder.handleSubscription(ACLMessage subscription)
This method is called when a subscription message is received that matches the message template specified in the constructor. |
protected ACLMessage |
SubscriptionResponder.prepareResponse(ACLMessage subscription)
Deprecated. Use handleSubscription() instead |
protected ACLMessage |
SubscriptionResponder.handleCancel(ACLMessage cancel)
This method is called when a CANCEL message is received for a previous subscription. |
SubscriptionResponder.Subscription |
SubscriptionResponder.createSubscription(ACLMessage subsMsg)
Utility method to correctly create a new Subscription object
managed by this SubscriptionResponder |
SubscriptionResponder.Subscription |
SubscriptionResponder.getSubscription(ACLMessage msg)
Utility method to correctly retrieve the Subscription object that is related to the conversation
message msg belongs to. |
void |
SubscriptionResponder.Subscription.notify(ACLMessage notification)
This method allows sending back a notification message to the subscribed agent associated to this Subscription object. |
protected java.util.Vector |
SubscriptionInitiator.prepareSubscriptions(ACLMessage subscription)
This method must return the vector of subscription ACLMessage objects to be sent. |
protected void |
SubscriptionInitiator.handleAgree(ACLMessage agree)
This method is called every time an agree
message is received, which is not out-of-sequence according
to the protocol rules.
|
protected void |
SubscriptionInitiator.handleRefuse(ACLMessage refuse)
This method is called every time a refuse
message is received, which is not out-of-sequence according
to the protocol rules.
|
protected void |
SubscriptionInitiator.handleInform(ACLMessage inform)
This method is called every time a inform
message is received, which is not out-of-sequence according
to the protocol rules.
|
protected void |
SubscriptionInitiator.fillCancelContent(ACLMessage subscription,
ACLMessage cancel)
This method is used to fill the :content slot
of the CANCEL message that is being sent to an agent to cancel
the subscription previously activated by means of the
subscription message. |
protected void |
SubscriptionInitiator.fillCancelContent(ACLMessage subscription,
ACLMessage cancel)
This method is used to fill the :content slot
of the CANCEL message that is being sent to an agent to cancel
the subscription previously activated by means of the
subscription message. |
protected ACLMessage |
SSIteratedAchieveREResponder.handleRequest(ACLMessage request)
This method is called to handle the initial REQUEST message and then again whenever a REQUEST message is received. |
protected void |
SSIteratedAchieveREResponder.handleCancel(ACLMessage cancel)
This method is called when a CANCEL message is received from the initiator. |
void |
SSIteratedAchieveREResponder.sendAgree(ACLMessage agree)
Utility method to send an optional AGREE message back to the initiator ensuring that all protocol fields are properly set. |
protected ACLMessage |
SSContractNetResponder.handleCfp(ACLMessage cfp)
This method is called to handle the initial CFP message. |
protected ACLMessage |
SSContractNetResponder.handleAcceptProposal(ACLMessage cfp,
ACLMessage propose,
ACLMessage accept)
This method is called when an ACCEPT_PROPOSAL message is received from the initiator. |
protected ACLMessage |
SSContractNetResponder.handleAcceptProposal(ACLMessage cfp,
ACLMessage propose,
ACLMessage accept)
This method is called when an ACCEPT_PROPOSAL message is received from the initiator. |
protected ACLMessage |
SSContractNetResponder.handleAcceptProposal(ACLMessage cfp,
ACLMessage propose,
ACLMessage accept)
This method is called when an ACCEPT_PROPOSAL message is received from the initiator. |
protected void |
SSContractNetResponder.handleRejectProposal(ACLMessage cfp,
ACLMessage propose,
ACLMessage reject)
This method is called when a REJECT_PROPOSAL message is received from the initiator. |
protected void |
SSContractNetResponder.handleRejectProposal(ACLMessage cfp,
ACLMessage propose,
ACLMessage reject)
This method is called when a REJECT_PROPOSAL message is received from the initiator. |
protected void |
SSContractNetResponder.handleRejectProposal(ACLMessage cfp,
ACLMessage propose,
ACLMessage reject)
This method is called when a REJECT_PROPOSAL message is received from the initiator. |
protected void |
SSContractNetResponder.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 void |
SSContractNetResponder.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 void |
SSContractNetResponder.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 ACLMessage |
SimpleAchieveREResponder.prepareResponse(ACLMessage request)
This method is called when the initiator's message is received that matches the message template passed in the constructor. |
protected ACLMessage |
SimpleAchieveREResponder.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 an agree message OR no response
message was sent.
|
protected ACLMessage |
SimpleAchieveREResponder.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 an agree message OR no response
message was sent.
|
protected ACLMessage |
SimpleAchieveREInitiator.prepareRequest(ACLMessage msg)
This method must return the ACLMessage to be sent. |
protected void |
SimpleAchieveREInitiator.handleAgree(ACLMessage msg)
This method is called every time an agree
message is received, which is not out-of-sequence according
to the protocol rules.
|
protected void |
SimpleAchieveREInitiator.handleRefuse(ACLMessage msg)
This method is called every time a refuse
message is received, which is not out-of-sequence according
to the protocol rules.
|
protected void |
SimpleAchieveREInitiator.handleNotUnderstood(ACLMessage msg)
This method is called every time a not-understood
message is received, which is not out-of-sequence according
to the protocol rules.
|
protected void |
SimpleAchieveREInitiator.handleInform(ACLMessage msg)
This method is called every time a inform
message is received, which is not out-of-sequence according
to the protocol rules.
|
protected void |
SimpleAchieveREInitiator.handleFailure(ACLMessage msg)
This method is called every time a failure
message is received, which is not out-of-sequence according
to the protocol rules.
|
protected void |
SimpleAchieveREInitiator.handleOutOfSequence(ACLMessage msg)
This method is called every time a message is received, which is out-of-sequence according to the protocol rules. |
void |
SimpleAchieveREInitiator.reset(ACLMessage msg)
This method resets this behaviour so that it restarts the protocol with another request message. |
protected ACLMessage |
ProposeResponder.prepareResponse(ACLMessage propose)
This method is called when the initiator's message is received that matches the message template passed in the constructor. |
protected void |
ProposeInitiator.initializeDataStore(ACLMessage msg)
Initialize the data store. |
protected boolean |
ProposeInitiator.checkInSequence(ACLMessage reply)
Check whether a reply is in-sequence and update the appropriate Session. |
protected int |
ProposeInitiator.checkSessions(ACLMessage reply)
Check the status of the sessions after the reception of the last reply or the expiration of the timeout. |
protected java.util.Vector |
ProposeInitiator.prepareInitiations(ACLMessage propose)
This method must return the vector of ACLMessage objects to be sent. |
protected void |
ProposeInitiator.handleAcceptProposal(ACLMessage accept_proposal)
This method is called every time an accept-proposal
message is received, which is not out-of-sequence according
to the protocol rules.
|
protected void |
ProposeInitiator.handleRejectProposal(ACLMessage reject_proposal)
This method is called every time an reject-proposal
message is received, which is not out-of-sequence according
to the protocol rules.
|
protected void |
ProposeInitiator.handleNotUnderstood(ACLMessage notUnderstood)
This method is called every time a not-understood
message is received, which is not out-of-sequence according
to the protocol rules.
|
protected void |
ProposeInitiator.handleOutOfSequence(ACLMessage msg)
This method is called every time a message is received, which is out-of-sequence according to the protocol rules. |
void |
ProposeInitiator.reset(ACLMessage msg)
reset this behaviour |
protected void |
IteratedAchieveREInitiator.handleInform(ACLMessage inform,
java.util.Vector nextRequests)
This method is called every time an inform
message is received, which is not out-of-sequence according
to the protocol rules.
|
protected void |
IteratedAchieveREInitiator.handleInform(ACLMessage inform)
This method is redefined to call the proper overloaded method |
static boolean |
IteratedAchieveREInitiator.isSessionTerminated(ACLMessage inform)
Check if the responder has closed the session just after sending this inform message. |
protected ACLMessage |
ContractNetResponder.prepareResponse(ACLMessage cfp)
Deprecated. Use handleCfp() instead |
protected ACLMessage |
ContractNetResponder.prepareResultNotification(ACLMessage cfp,
ACLMessage propose,
ACLMessage accept)
Deprecated. Use handleAcceptProposal() instead. |
protected ACLMessage |
ContractNetResponder.prepareResultNotification(ACLMessage cfp,
ACLMessage propose,
ACLMessage accept)
Deprecated. Use handleAcceptProposal() instead. |
protected ACLMessage |
ContractNetResponder.prepareResultNotification(ACLMessage cfp,
ACLMessage propose,
ACLMessage accept)
Deprecated. Use handleAcceptProposal() instead. |
protected java.util.Vector |
ContractNetInitiator.prepareCfps(ACLMessage cfp)
This method must return the vector of ACLMessage objects to be sent. |
protected void |
ContractNetInitiator.handlePropose(ACLMessage propose,
java.util.Vector acceptances)
This method is called every time a propose
message is received, which is not out-of-sequence according
to the protocol rules.
|
protected void |
ContractNetInitiator.handleRefuse(ACLMessage refuse)
This method is called every time a refuse
message is received, which is not out-of-sequence according
to the protocol rules.
|
protected void |
ContractNetInitiator.handleInform(ACLMessage inform)
This method is called every time a inform
message is received, which is not out-of-sequence according
to the protocol rules.
|
protected ProtocolSession |
ContractNetInitiator.getSession(ACLMessage msg,
int sessionIndex)
|
protected ACLMessage |
AchieveREResponder.handleRequest(ACLMessage request)
This method is called when the protocol initiation message (matching the MessageTemplate specified in the constructor) is received. |
protected ACLMessage |
AchieveREResponder.prepareResponse(ACLMessage request)
Deprecated. Use handleRequest() instead |
protected ACLMessage |
AchieveREResponder.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 an AGREE message.
|
protected ACLMessage |
AchieveREResponder.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 an AGREE message.
|
protected java.util.Vector |
AchieveREInitiator.prepareRequests(ACLMessage request)
This method must return the vector of ACLMessage objects to be sent. |
protected void |
AchieveREInitiator.handleAgree(ACLMessage agree)
This method is called every time an agree
message is received, which is not out-of-sequence according
to the protocol rules.
|
protected void |
AchieveREInitiator.handleRefuse(ACLMessage refuse)
This method is called every time a refuse
message is received, which is not out-of-sequence according
to the protocol rules.
|
protected void |
AchieveREInitiator.handleInform(ACLMessage inform)
This method is called every time a inform
message is received, which is not out-of-sequence according
to the protocol rules.
|
protected ProtocolSession |
AchieveREInitiator.getSession(ACLMessage msg,
int sessionIndex)
|
Constructors in jade.proto with parameters of type ACLMessage | |
TwoPhInitiator(Agent a,
ACLMessage cfp)
Constructs a TwoPhInitiator behaviour. |
|
TwoPhInitiator(Agent a,
ACLMessage cfp,
DataStore ds)
Constructs a TwoPhInitiator behaviour. |
|
TwoPh2Initiator(Agent a,
ACLMessage acceptance)
Constructs a TwoPh2Initiator behaviour. |
|
TwoPh2Initiator(Agent a,
ACLMessage acceptance,
DataStore store)
Constructs a TwoPh2Initiator behaviour. |
|
TwoPh1Initiator(Agent a,
ACLMessage queryIf,
java.lang.String outputKey)
Constructs a TwoPh1Initiator behaviour. |
|
TwoPh1Initiator(Agent a,
ACLMessage queryIf,
java.lang.String outputKey,
DataStore store)
Constructs a TwoPh1Initiator behaviour. |
|
TwoPh0Initiator(Agent a,
ACLMessage cfp,
java.lang.String outputKey)
Constructs a TwoPh0Initiator behaviour. |
|
TwoPh0Initiator(Agent a,
ACLMessage cfp,
java.lang.String outputKey,
DataStore store)
Constructs a TwoPh0Initiator behaviour. |
|
SubscriptionInitiator(Agent a,
ACLMessage msg)
Construct a SubscriptionInitiator with an empty DataStore |
|
SubscriptionInitiator(Agent a,
ACLMessage msg,
DataStore store)
Construct a SubscriptionInitiator with 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. |
|
SSContractNetResponder(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. |
|
SimpleAchieveREInitiator(Agent a,
ACLMessage msg)
Construct for the class by creating a new empty DataStore |
|
SimpleAchieveREInitiator(Agent a,
ACLMessage msg,
DataStore store)
Constructs a SimpleAchieveREInitiator behaviour |
|
ProposeInitiator(Agent a,
ACLMessage msg)
Construct a ProposeInitiator with an empty DataStore |
|
ProposeInitiator(Agent a,
ACLMessage initiation,
DataStore store)
Construct a ProposeInitiator with a given DataStore |
|
IteratedAchieveREInitiator(Agent a,
ACLMessage msg)
Construct an IteratedAchieveREInitiator with an empty DataStore |
|
IteratedAchieveREInitiator(Agent a,
ACLMessage msg,
DataStore store)
Construct an IteratedAchieveREInitiator with a given DataStore |
|
ContractNetInitiator(Agent a,
ACLMessage cfp)
Constructor for the class that creates a new empty DataStore |
|
ContractNetInitiator(Agent a,
ACLMessage cfp,
DataStore store)
Constructs a ContractNetInitiator behaviour |
|
AchieveREInitiator(Agent a,
ACLMessage msg)
Construct an AchieveREInitiator with an empty DataStore |
|
AchieveREInitiator(Agent a,
ACLMessage msg,
DataStore store)
Construct an AchieveREInitiator with a given DataStore |
Uses of ACLMessage in jade.proto.states |
Methods in jade.proto.states with parameters of type ACLMessage | |
static void |
ReplySender.adjustReply(Agent myAgent,
ACLMessage reply,
ACLMessage msg)
Adjust all protocol fields and receivers in a reply to a given message. |
static void |
ReplySender.adjustReply(Agent myAgent,
ACLMessage reply,
ACLMessage msg)
Adjust all protocol fields and receivers in a reply to a given message. |
protected void |
MsgReceiver.handleMessage(ACLMessage msg)
This is invoked when a message matching the specified template is received or the timeout has expired (the msg
parameter is null in this case). |
|
|||||||||||
PREV NEXT | FRAMES NO FRAMES |