Overview  Package   Class  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

sajas.core.behaviours
Class OneShotBehaviour
java.lang.Object
  sajas.core.behaviours.Behaviour
      sajas.core.behaviours.SimpleBehaviour
          sajas.core.behaviours.OneShotBehaviour
All Implemented Interfaces:
jade.util.leap.Serializable, Serializable
Direct Known Subclasses:
ReplySender, SenderBehaviour, StateResetter

public abstract class OneShotBehaviour
extends SimpleBehaviour
Author:
hlc
See Also:
jade.core.behaviours.OneShotBehaviour

Nested classes/interfaces inherited from class sajas.core.behaviours.Behaviour
Behaviour.RunnableChangedEvent
Fields inherited from class sajas.core.behaviours.Behaviour
myAgent, myEvent, NOTIFY_DOWN, NOTIFY_UP, parent, STATE_BLOCKED, STATE_READY, STATE_RUNNING
Constructor Summary
OneShotBehaviour()
OneShotBehaviour(Agent a)
Method Summary
boolean
done()
          Check if this behaviour is done.
Methods inherited from class sajas.core.behaviours.SimpleBehaviour
reset
Methods inherited from class sajas.core.behaviours.Behaviour
action, actionWrapper, block, block, getAgent, getBehaviourName, getDataStore, getExecutionState, getParent, getRestartCounter, handle, handleBlockEvent, handleRestartEvent, isRunnable, onEnd, onStart, restart, root, setAgent, setBehaviourName, setDataStore, setExecutionState
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
OneShotBehaviour
public OneShotBehaviour()
See Also:
jade.core.behaviours.OneShotBehaviour.OneShotBehaviour()

OneShotBehaviour
public OneShotBehaviour(Agent a)
See Also:
jade.core.behaviours.OneShotBehaviour.OneShotBehaviour(jade.core.Agent)
Method Detail
done
public final boolean done()
Description copied from class: Behaviour
Check if this behaviour is done. The agent scheduler calls this method to see whether a Behaviour still need to be run or it has completed its task. Concrete behaviours must implement this method to return their completion state. Finished behaviours are removed from the scheduling queue, while others are kept within to be run again when their turn comes again.
Overrides:
done in class Behaviour
Returns:
true if the behaviour has completely executed.
See Also:
jade.core.behaviours.OneShotBehaviour.done()

Overview  Package   Class  Tree  Deprecated  Index  Help 
PREV CLASS   NEXT CLASS FRAMES    NO FRAMES    All Classes
SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD

Java API documentation generated with DocFlex/Doclet 1.6.1 using JavadocPro template set.
DocFlex/Doclet is both a multi-format Javadoc doclet and a free edition of DocFlex/Javadoc, which is a template-driven programming tool for rapid development of any Javadoc-based Java API documentation generators (i.e. doclets). If you need to customize your Javadoc without writing a full-blown doclet from scratch, DocFlex/Javadoc may be the only tool able to help you! Find out more at www.docflex.com