Package com.embabel.agent.event
Interface AgenticEventListener
-
- All Implemented Interfaces:
public interface AgenticEventListenerListen to events related to processes and the platform itself. Subclasses can implement this interface to handle specific events. Default implementations do nothing.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classAgenticEventListener.Companion
-
Method Summary
Modifier and Type Method Description UnitonPlatformEvent(AgentPlatformEvent event)An event relating to the platform or leading to the creation of an AgentProcess, such as the choice of a goal. UnitonProcessEvent(AgentProcessEvent event)Listen to an event during the execution of an AgentProcess -
-
Method Detail
-
onPlatformEvent
Unit onPlatformEvent(AgentPlatformEvent event)
An event relating to the platform or leading to the creation of an AgentProcess, such as the choice of a goal. No process is available at this point.
-
onProcessEvent
Unit onProcessEvent(AgentProcessEvent event)
Listen to an event during the execution of an AgentProcess
-
-
-
-