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
ConstructorDescriptionstartMyDelayedBehaviours
(jade.core.Agent a, List<jade.core.behaviours.Behaviour> behaviourList, long timeout) Start behaviours after a given time -
Method Summary
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
-
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 agentbehaviourList
- the list of behaviours to start after the timeouttimeout
- duration (in ms)
-
-
Method Details
-
onWake
public void onWake()- Overrides:
onWake
in classjade.core.behaviours.WakerBehaviour
-