|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAchieveREResponder
CoPS.agents.RespondToDecomposeRequestsBehaviour
Behaviour specifying what to do while waiting for a new task to decompose. Only messages with a request performative is processed. Null messages are ignored, while all other messages with performative not set to request are answered with a not-understood reply. Modified by Kari Roessland.
Constructor Summary | |
RespondToDecomposeRequestsBehaviour(Agent agent,
MessageTemplate template)
The constructor. |
Method Summary | |
protected ACLMessage |
prepareResponse(ACLMessage request)
Method used to prepare the response, saying if the decomposer wants/can decompose the received task or not. |
protected ACLMessage |
prepareResultNotification(ACLMessage request,
ACLMessage response)
The method make and return a message containing a TMST. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RespondToDecomposeRequestsBehaviour(Agent agent, MessageTemplate template)
agent
- The owner of this behaviour.template
- A message template used to filter the incoming request-messages.Method Detail |
protected ACLMessage prepareResponse(ACLMessage request)
request
- The incoming task-decomposition-request message.
protected ACLMessage prepareResultNotification(ACLMessage request, ACLMessage response)
request
- The received request message.response
- The response message sent before.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |