Package ai.tock.bot.definition
Interface EventListener
-
- All Implemented Interfaces:
public interface EventListenerListen all events - this is the standard process to handle Event that are not Action (when you need to handle them).
You can also intercept Actions if useful.
To be declared in BotDefinition.eventListener.
-
-
Method Summary
Modifier and Type Method Description abstract BooleanlistenEvent(ConnectorController controller, ConnectorData connectorData, Event event)Listen new event. -
-
Method Detail
-
listenEvent
abstract Boolean listenEvent(ConnectorController controller, ConnectorData connectorData, Event event)
Listen new event.
- Parameters:
controller- the controllerconnectorData- the connector specific dataevent- the new event- Returns:
true if the event is handled
-
-
-
-