Class P_deployMe.R1_deployMe

java.lang.Object
jade.core.behaviours.Behaviour
jade.core.behaviours.SimpleBehaviour
eu.su.mas.dedale.mas.agent.interactions.protocols.P_deployMe.R1_deployMe
All Implemented Interfaces:
jade.util.leap.Serializable, java.io.Serializable
Enclosing class:
P_deployMe

public class P_deployMe.R1_deployMe
extends jade.core.behaviours.SimpleBehaviour
OneShot behaviour, used by the agent when arriving on a given container to ask for a deployment in the environment, if any
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
    R1_deployMe​(java.lang.String environmentManagerName, AbstractDedaleAgent agent)
    OneShot behaviour, used when arriving on a given container to deploy the agent in the env
  • 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

    • R1_deployMe

      public R1_deployMe​(java.lang.String environmentManagerName, AbstractDedaleAgent agent)
      OneShot behaviour, used when arriving on a given container to deploy the agent in the env
      Parameters:
      environmentManagerName - : name of the entity in charge of the environment
      agent - : a ref to the agent, must be a Dedale's agent subclass
  • 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