|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAchieveREResponder
CoPS.agents.ComposePSMBehaviour
This class assist the task responsible agent in composing partial results connected to a psm
Constructor Summary | |
ComposePSMBehaviour(Agent agent,
MessageTemplate template)
The constructor only calls the super-constructor |
Method Summary | |
int |
onEnd()
Information from the last execution of this behaviour is reset. |
protected ACLMessage |
prepareResponse(ACLMessage request)
In this method the agent desides if it can perform the action and prepares a response to the incoming request message. |
protected ACLMessage |
prepareResultNotification(ACLMessage request,
ACLMessage response)
The agent prepares the output from the action and returns it to the requester (TeamSpaceAgent). |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public ComposePSMBehaviour(Agent agent, MessageTemplate template)
agent
- The owner of this behaviourtemplate
- A message template that defines the construct of the incoming request message.Method Detail |
protected ACLMessage prepareResponse(ACLMessage request)
request
- The incoming request message.protected ACLMessage prepareResultNotification(ACLMessage request, ACLMessage response)
request
- The request message.response
- The response message to the request message, that was sent before.
public int onEnd()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |