public class ConnectorCallbackBase implements ConnectorCallback
Base implementation of interface ConnectorCallback - add logging and interface RequestTimer monitoring.
public static ai.tock.bot.connector.ConnectorCallbackBase.Companion Companion
public ConnectorCallbackBase(@NotNull
java.lang.String applicationId,
@NotNull
ConnectorType connectorType)
Base implementation of interface ConnectorCallback - add logging and interface RequestTimer monitoring.
applicationId - The application id.interface ConnectorCallback,
interface RequestTimerpublic void userLocked(@NotNull
Event event)
Called by ConnectorController.handle when the user is locked.
ConnectorController.handlepublic void userLockReleased(@NotNull
Event event)
Called by ConnectorController.handle when the user lock is released.
ConnectorController.handlepublic void eventSkipped(@NotNull
Event event)
Called by ConnectorController.handle when the event is not handled.
ConnectorController.handlepublic void eventAnswered(@NotNull
Event event)
Called by ConnectorController.handle when the event is answered.
ConnectorController.handlepublic void exceptionThrown(@NotNull
Event event,
@NotNull
java.lang.Throwable throwable)
Called by ConnectorController.handle when an exception is thrown.
ConnectorController.handle@NotNull public java.lang.String getApplicationId()
The application id.
@NotNull public ConnectorType getConnectorType()