|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.ObjectAchieveREResponder
teamSpace.agent.TeamSpaceAgentBehaviour
The name of this class should be changed. It will encapsulate all of the TeamSpaceAgent- behaviour from initilizing the team space till the result of the problem solving is present.
Constructor Summary | |
TeamSpaceAgentBehaviour(Agent agent,
MessageTemplate template,
DataStore ds)
The constructor calls the superconstructor and register a behaviour that should handle the prepareResultNotification part of the conversation (protocol). |
Method Summary | |
int |
onEnd()
Information from the last execution of this behaviour is reset and the behaviour is added to the agent again |
protected ACLMessage |
prepareResponse(ACLMessage request)
This method is an extention to the same method of the superclass. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public TeamSpaceAgentBehaviour(Agent agent, MessageTemplate template, DataStore ds)
agent
- The agent that this behaviour belongs to.template
- A template for which messages it should accept as part of this behaviour's protocol.Method Detail |
protected ACLMessage prepareResponse(ACLMessage request)
request
- The request message received
public int onEnd()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |