de.fau.cs.www8.jadeowlcodec.examples.transformationJADEontology2OWLexample.JADEbehaviours
Class HandleEngageBehaviour
java.lang.Object
jade.core.behaviours.Behaviour
jade.core.behaviours.SimpleBehaviour
jade.proto.SimpleAchieveREResponder
de.fau.cs.www8.jadeowlcodec.examples.transformationJADEontology2OWLexample.JADEbehaviours.HandleEngageBehaviour
- All Implemented Interfaces:
- jade.domain.FIPANames.InteractionProtocol, java.io.Serializable
public class HandleEngageBehaviour
- extends jade.proto.SimpleAchieveREResponder
This behaviour handles a single engagement action that has been
requested following the FIPA-Request protocol
- See Also:
- Serialized Form
| Nested classes/interfaces inherited from class jade.core.behaviours.Behaviour |
jade.core.behaviours.Behaviour.RunnableChangedEvent |
| Fields inherited from class jade.proto.SimpleAchieveREResponder |
REQUEST_KEY, RESPONSE_KEY, RESULT_NOTIFICATION_KEY |
| Fields inherited from class jade.core.behaviours.Behaviour |
myAgent, myEvent, NOTIFY_DOWN, NOTIFY_UP, parent, STATE_BLOCKED, STATE_READY, STATE_RUNNING |
| Fields inherited from interface jade.domain.FIPANames.InteractionProtocol |
FIPA_BROKERING, FIPA_CONTRACT_NET, FIPA_DUTCH_AUCTION, FIPA_ENGLISH_AUCTION, FIPA_ITERATED_CONTRACT_NET, FIPA_PROPOSE, FIPA_QUERY, FIPA_RECRUITING, FIPA_REQUEST, FIPA_REQUEST_WHEN, FIPA_SUBSCRIBE, ITERATED_FIPA_REQUEST |
|
Constructor Summary |
HandleEngageBehaviour(jade.core.Agent myAgent)
Constructor for the OWLHandleEngageBehaviour class. |
|
Method Summary |
jade.lang.acl.ACLMessage |
prepareResponse(jade.lang.acl.ACLMessage request)
|
jade.lang.acl.ACLMessage |
prepareResultNotification(jade.lang.acl.ACLMessage request,
jade.lang.acl.ACLMessage response)
This method actually handles the engagement action |
| Methods inherited from class jade.proto.SimpleAchieveREResponder |
action, createMessageTemplate, done, reset, reset |
| Methods inherited from class jade.core.behaviours.Behaviour |
actionWrapper, block, block, getBehaviourName, getDataStore, getExecutionState, getParent, handle, isRunnable, onEnd, onStart, restart, root, setAgent, setBehaviourName, setDataStore, setExecutionState |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
HandleEngageBehaviour
public HandleEngageBehaviour(jade.core.Agent myAgent)
- Constructor for the
OWLHandleEngageBehaviour class.
- Parameters:
myAgent - The agent owning this behaviour
prepareResultNotification
public jade.lang.acl.ACLMessage prepareResultNotification(jade.lang.acl.ACLMessage request,
jade.lang.acl.ACLMessage response)
- This method actually handles the engagement action
- Overrides:
prepareResultNotification in class jade.proto.SimpleAchieveREResponder
prepareResponse
public jade.lang.acl.ACLMessage prepareResponse(jade.lang.acl.ACLMessage request)
- Overrides:
prepareResponse in class jade.proto.SimpleAchieveREResponder
Copyright 2007 Moritz Goeb, Bernhard Schiemann, Ulf Schreiber of Chair of Artificial Intelligence, University of Erlangen-Nuremberg