CoPS.agents
Class AdministerProblemSolvingProcessBehaviour

java.lang.Object
  extended byAchieveREInitiator
      extended byCoPS.agents.AdministerProblemSolvingProcessBehaviour

public class AdministerProblemSolvingProcessBehaviour
extends AchieveREInitiator

This class represents the behaviour defining the administration of the problem solving process. Important! This behaviour is only a place holder.

See Also:
Serialized Form

Constructor Summary
AdministerProblemSolvingProcessBehaviour(Agent agent, ACLMessage request)
          The constructor.
 
Method Summary
protected  void handleFailure(ACLMessage failure)
          This method handles the failure messages.
protected  void handleInform(ACLMessage inform)
          This method handles the inform messages.
protected  void handleNotUnderstood(ACLMessage notUnderstood)
          This method handles not-understood messages.
protected  void handleRefuse(ACLMessage refuse)
          This method handles refuse messages.
 int onEnd()
          The onEnd method is called at the completion of this behaviour.
protected  java.util.Vector prepareRequests(ACLMessage request)
          In this method the request messages are prepared.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdministerProblemSolvingProcessBehaviour

public AdministerProblemSolvingProcessBehaviour(Agent agent,
                                                ACLMessage request)
The constructor.

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

prepareRequests

protected java.util.Vector prepareRequests(ACLMessage request)
In this method the request messages are prepared.

Parameters:
request - The default request message.
Returns:
A Vector containing the request messages.

handleNotUnderstood

protected void handleNotUnderstood(ACLMessage notUnderstood)
This method handles not-understood messages.

Parameters:
notUnderstood - The received not-understood message.

handleRefuse

protected void handleRefuse(ACLMessage refuse)
This method handles refuse messages.

Parameters:
refuse - The received refuse message.

handleFailure

protected void handleFailure(ACLMessage failure)
This method handles the failure messages.

Parameters:
failure - The received failure message.

handleInform

protected void handleInform(ACLMessage inform)
This method handles the inform messages.

Parameters:
inform - The received inform message.

onEnd

public int onEnd()
The onEnd method is called at the completion of this behaviour.

Returns:
The transition from this behaviour.