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

public class KillListBehaviour
extends jade.core.behaviours.SimpleBehaviour
When the user select a KillButton, it trigger a method in the gui that update a list. This list calls the KillListBehaviour below (already running) that adds the behaviour associated with the P-terminate protocol
Author:
hc
See Also:
Serialized Form
  • Field Summary

    Fields inherited from class jade.core.behaviours.Behaviour

    STATE_BLOCKED, STATE_READY, STATE_RUNNING
  • Constructor Summary

    Constructors 
    Constructor Description
    KillListBehaviour​(jade.core.Agent a, IEnvironment e)
    Behaviour used to terminate an agent selected by the user through the GUI
  • Method Summary

    Modifier and Type Method Description
    void action()  
    boolean done()  

    Methods inherited from class jade.core.behaviours.SimpleBehaviour

    reset

    Methods inherited from class jade.core.behaviours.Behaviour

    actionWrapper, block, block, getAgent, getBehaviourName, getDataStore, getExecutionState, getRestartCounter, handleRestartEvent, isRunnable, onEnd, onStart, restart, root, setAgent, setBehaviourName, setDataStore, setExecutionState

    Methods inherited from class java.lang.Object

    equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • KillListBehaviour

      public KillListBehaviour​(jade.core.Agent a, IEnvironment e)
      Behaviour used to terminate an agent selected by the user through the GUI
      Parameters:
      a - agent
      e - environment the terminated target is living in
  • Method Details

    • action

      public void action()
      Specified by:
      action in class jade.core.behaviours.Behaviour
    • done

      public boolean done()
      Specified by:
      done in class jade.core.behaviours.Behaviour