Interface EnvironmentInfraTier

All Known Implementing Classes:
JadeEnvironment, LocalEnvironment

public interface EnvironmentInfraTier
This interface is implemented by the infrastructure tier (Jade/Local/...) to provide concrete implementation of the environment.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    actionExecuted(String agName, Structure actTerm, boolean success, Object infraData)
    called by the user implementation of the environment when the action was executed
    Gets an object with infrastructure runtime services
    void
    Sends a message to the given agents notifying them that the environment has changed (called by the user environment).
    boolean
    returns true if the infrastructure environment is running
  • Method Details

    • informAgsEnvironmentChanged

      void informAgsEnvironmentChanged(String... agents)
      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.
    • getRuntimeServices

      RuntimeServices getRuntimeServices()
      Gets an object with infrastructure runtime services
    • isRunning

      boolean isRunning()
      returns true if the infrastructure environment is running
    • actionExecuted

      void actionExecuted(String agName, Structure actTerm, boolean success, Object infraData)
      called by the user implementation of the environment when the action was executed