Class JadeEnvironment

java.lang.Object
jade.core.Agent
jason.infra.jade.JadeAg
jason.infra.jade.JadeEnvironment
All Implemented Interfaces:
jade.core.TimerListener, jade.util.leap.Serializable, EnvironmentInfraTier, Serializable, Runnable

public class JadeEnvironment extends JadeAg implements EnvironmentInfraTier
This class implements the Jade version of the environment infrastructure tier.
See Also:
  • Field Details

    • actionOntology

      public static String actionOntology
    • perceptionOntology

      public static String perceptionOntology
  • Constructor Details

    • JadeEnvironment

      public JadeEnvironment()
  • Method Details

    • setup

      public void setup()
      Overrides:
      setup in class jade.core.Agent
    • takeDown

      protected void takeDown()
      Overrides:
      takeDown in class jade.core.Agent
    • actionExecuted

      public void actionExecuted(String agName, Structure actTerm, boolean success, Object infraData)
      Description copied from interface: EnvironmentInfraTier
      called by the user implementation of the environment when the action was executed
      Specified by:
      actionExecuted in interface EnvironmentInfraTier
    • informAgsEnvironmentChanged

      public void informAgsEnvironmentChanged(String... agents)
      Description copied from interface: EnvironmentInfraTier
      Sends a message to the given agents notifying them that the environment has changed (called by the user environment). If no agent is informed, the notification is sent to all agents.
      Specified by:
      informAgsEnvironmentChanged in interface EnvironmentInfraTier
    • informAgsEnvironmentChanged

      public void informAgsEnvironmentChanged(Collection<String> agentsToNotify)
    • getRuntimeServices

      public RuntimeServices getRuntimeServices()
      Description copied from interface: EnvironmentInfraTier
      Gets an object with infrastructure runtime services
      Specified by:
      getRuntimeServices in interface EnvironmentInfraTier