Package jason.environment
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 TypeMethodDescriptionvoid
actionExecuted
(String agName, Structure actTerm, boolean success, Object infraData) called by the user implementation of the environment when the action was executedGets an object with infrastructure runtime servicesvoid
informAgsEnvironmentChanged
(String... agents) 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
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
called by the user implementation of the environment when the action was executed
-