Package ai.tock.bot.definition
Class EventListenerBase
-
- All Implemented Interfaces:
-
ai.tock.bot.definition.EventListener
public class EventListenerBase implements EventListener
Base implementation of EventListener.
-
-
Constructor Summary
Constructors Constructor Description EventListenerBase()
-
Method Summary
Modifier and Type Method Description BooleanlistenEvent(ConnectorController controller, ConnectorData connectorData, Event event)Listen StartConversationEvent or EndConversationEvent by default (if respectively BotDefinition.helloStory or BotDefinition.goodbyeStory are set). -
-
Method Detail
-
listenEvent
Boolean listenEvent(ConnectorController controller, ConnectorData connectorData, Event event)
Listen StartConversationEvent or EndConversationEvent by default (if respectively BotDefinition.helloStory or BotDefinition.goodbyeStory are set).
- Parameters:
controller- the controllerconnectorData- the connector specific dataevent- the new event
-
-
-
-