aminePlatform.agent.amineJade
Class Answer

java.lang.Object
  extended byjade.core.behaviours.Behaviour
      extended byjade.core.behaviours.SimpleBehaviour
          extended byjade.core.behaviours.CyclicBehaviour
              extended byaminePlatform.agent.amineJade.Answer
All Implemented Interfaces:
java.io.Serializable, jade.util.leap.Serializable

public class Answer
extends jade.core.behaviours.CyclicBehaviour

Title : Answer class

Description : Answer is the class that describes how an agent can check if it has received a message, and how it can answer if the ACL received requires a reply. This class is extending Cyclic Behaviour, which means that an agent is at every moment checking if it has a new message

Copyright : Copyright (c) Adil KABBAJ 2004-2009

See Also:
Serialized Form

Nested Class Summary
 
Nested classes inherited from class jade.core.behaviours.Behaviour
jade.core.behaviours.Behaviour.RunnableChangedEvent
 
Field Summary
 
Fields inherited from class jade.core.behaviours.Behaviour
myAgent, myEvent, NOTIFY_DOWN, NOTIFY_UP, parent, STATE_BLOCKED, STATE_READY, STATE_RUNNING
 
Constructor Summary
Answer()
           
 
Method Summary
 void action()
           
 void setAnswerAgent(AmineJadeAgent agent)
           
 
Methods inherited from class jade.core.behaviours.CyclicBehaviour
done
 
Methods inherited from class jade.core.behaviours.SimpleBehaviour
reset
 
Methods inherited from class jade.core.behaviours.Behaviour
actionWrapper, block, block, getBehaviourName, getDataStore, handle, isRunnable, onEnd, onStart, restart, root, setAgent, setBehaviourName, setDataStore
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Answer

public Answer()
Method Detail

action

public void action()

setAnswerAgent

public void setAnswerAgent(AmineJadeAgent agent)