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 SerialBehaviour
java.lang.Object
  sajas.core.behaviours.Behaviour
      sajas.core.behaviours.CompositeBehaviour
          sajas.core.behaviours.SerialBehaviour
All Implemented Interfaces:
jade.util.leap.Serializable, Serializable
Direct Known Subclasses:
FSMBehaviour, SequentialBehaviour

public abstract class SerialBehaviour
extends CompositeBehaviour
Author:
hlc
See Also:
jade.core.behaviours.SerialBehaviour

Nested classes/interfaces inherited from class sajas.core.behaviours.Behaviour
Behaviour.RunnableChangedEvent
Fields inherited from class sajas.core.behaviours.CompositeBehaviour
currentExecuted
Fields inherited from class sajas.core.behaviours.Behaviour
myAgent, myEvent, NOTIFY_DOWN, NOTIFY_UP, parent, STATE_BLOCKED, STATE_READY, STATE_RUNNING
Constructor Summary
protected
SerialBehaviour()
          Create a new SerialBehaviour object, without setting the owner agent.
protected
SerialBehaviour(Agent a)
          Create a new SerialBehaviour object and set the owner agent.
Method Summary
protected void
handle(Behaviour.RunnableChangedEvent rce)
          Handle block/restart notifications.
Methods inherited from class sajas.core.behaviours.CompositeBehaviour
action, checkTermination, done, getChildren, getCurrent, handleBlockEvent, handleRestartEvent, registerAsChild, reset, resetChildren, scheduleFirst, scheduleNext, setAgent
Methods inherited from class sajas.core.behaviours.Behaviour
actionWrapper, block, block, getAgent, getBehaviourName, getDataStore, getExecutionState, getParent, getRestartCounter, isRunnable, onEnd, onStart, restart, root, setBehaviourName, setDataStore, setExecutionState
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Constructor Detail
SerialBehaviour
protected SerialBehaviour()
Create a new SerialBehaviour object, without setting the owner agent.

SerialBehaviour
protected SerialBehaviour(Agent a)
Create a new SerialBehaviour object and set the owner agent.
Parameters:
a - The agent owning this behaviour.
Method Detail
handle
protected void handle(Behaviour.RunnableChangedEvent rce)
Handle block/restart notifications. A SerialBehaviour is blocked only when its currently active child is blocked, and becomes ready again when its current child is ready. This method takes care of the various possibilities.
Overrides:
handle in class Behaviour
Parameters:
rce - The event to handle.

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