CoPS.agents
Class HandleAgreeBehaviour

java.lang.Object
  extended byOneShotBehaviour
      extended byCoPS.agents.HandleAgreeBehaviour

public class HandleAgreeBehaviour
extends OneShotBehaviour

This class implements the handleAgree - method in AdministerProblemSolvingProcessBehaviour

See Also:
Serialized Form

Constructor Summary
HandleAgreeBehaviour(Agent agent)
          The constructor.
 
Method Summary
 void action()
          This method defines a messagetemplate and adds a new behaviour (ComposePSMBehaviour) to the agent that owns this behaviour.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HandleAgreeBehaviour

public HandleAgreeBehaviour(Agent agent)
The constructor.

Parameters:
agent - The owner of this behaviour.
Method Detail

action

public void action()
This method defines a messagetemplate and adds a new behaviour (ComposePSMBehaviour) to the agent that owns this behaviour.