Class startMyDelayedBehaviours

java.lang.Object
jade.core.behaviours.Behaviour
jade.core.behaviours.SimpleBehaviour
jade.core.behaviours.WakerBehaviour
eu.su.mas.dedale.mas.agent.behaviours.platformManagment.startMyDelayedBehaviours
All Implemented Interfaces:
jade.util.leap.Serializable, Serializable

public class startMyDelayedBehaviours extends jade.core.behaviours.WakerBehaviour
Start behaviours after a given time
Author:
hc
See Also:
  • Nested Class Summary

    Nested classes/interfaces 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

    Constructors
    Constructor
    Description
    startMyDelayedBehaviours(jade.core.Agent a, List<jade.core.behaviours.Behaviour> behaviourList, long timeout)
    Start behaviours after a given time
  • Method Summary

    Modifier and Type
    Method
    Description
    void
     

    Methods inherited from class jade.core.behaviours.WakerBehaviour

    action, done, getWakeupTime, handleElapsedTimeout, reset, reset, reset, stop

    Methods inherited from class jade.core.behaviours.Behaviour

    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 Details

    • startMyDelayedBehaviours

      public startMyDelayedBehaviours(jade.core.Agent a, List<jade.core.behaviours.Behaviour> behaviourList, long timeout)
      Start behaviours after a given time
      Parameters:
      a - the agent
      behaviourList - the list of behaviours to start after the timeout
      timeout - duration (in ms)
  • Method Details

    • onWake

      public void onWake()
      Overrides:
      onWake in class jade.core.behaviours.WakerBehaviour