jade.core.behaviours
Class SerialBehaviour

java.lang.Object
  |
  +--jade.core.behaviours.Behaviour
        |
        +--jade.core.behaviours.CompositeBehaviour
              |
              +--jade.core.behaviours.SerialBehaviour
All Implemented Interfaces:
Serializable, java.io.Serializable
Direct Known Subclasses:
FSMBehaviour, SequentialBehaviour

public abstract class SerialBehaviour
extends CompositeBehaviour

Base class for all composite behaviour whose children run serially, i.e. the composite behaviour is blocked if and only if its current child is blocked.

Author:
Giovanni Caire - Telecom Italia Lab
See Also:
Serialized Form

Field Summary
 
Fields inherited from class jade.core.behaviours.Behaviour
myAgent
 
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.
 
Methods inherited from class jade.core.behaviours.CompositeBehaviour
action, block, checkTermination, done, getChildren, getCurrent, reset, resetChildren, restart, scheduleFirst, scheduleNext, setAgent
 
Methods inherited from class jade.core.behaviours.Behaviour
block, getBehaviourName, getDataStore, getParent, isRunnable, onEnd, onStart, root, setBehaviourName, setDataStore
 
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.


JADE