Package jason.infra

Interface InfrastructureFactory

All Known Implementing Classes:
JadeFactory, LocalFactory

public interface InfrastructureFactory
Every infrastructure for Jason must implement this interface. The interface provides methods for JasonIDE and user's runtime classes, etc.
Author:
Jomi
  • Method Summary

    Modifier and Type Method Description
    MASLauncherInfraTier createMASLauncher()
    Every infrastructure factory should be able to create an instance of MASLauncherInfraTier, this instance is used to start a new MAS execution.
    RuntimeServices createRuntimeServices()
    Every infrastructure factory should be able to create an instance of RuntimeServices, this instance provides services for controlling the MAS, as agent creation, destruction, etc.
  • Method Details

    • createMASLauncher

      MASLauncherInfraTier createMASLauncher()
      Every infrastructure factory should be able to create an instance of MASLauncherInfraTier, this instance is used to start a new MAS execution. It is normally used by JasonIDE.
    • createRuntimeServices

      RuntimeServices createRuntimeServices()
      Every infrastructure factory should be able to create an instance of RuntimeServices, this instance provides services for controlling the MAS, as agent creation, destruction, etc. These services are normally used by user classes as AgArch and Environments.