tock / ai.tock.bot.connector / ConnectorCallbackBase

# ConnectorCallbackBase

`open class ConnectorCallbackBase : ConnectorCallback` (source)

Base implementation of ConnectorCallback - add logging and RequestTimer monitoring.

### Constructors

#### <init> | Base implementation of ConnectorCallback - add logging and RequestTimer monitoring. `ConnectorCallbackBase(applicationId: String, connectorType: ConnectorType)`

### Properties

#### applicationId | The application id. `open val applicationId: String`
#### connectorType | `val connectorType: ConnectorType`

### Functions

#### eventAnswered | Called by ConnectorController.handle when the event is answered. `open fun eventAnswered(event: Event): Unit`
#### eventSkipped | Called by ConnectorController.handle when the event is not handled. `open fun eventSkipped(event: Event): Unit`
#### exceptionThrown | Called by ConnectorController.handle when an exception is thrown. `open fun exceptionThrown(event: Event, throwable: Throwable): Unit`
#### userLocked | Called by ConnectorController.handle when the user is locked. `open fun userLocked(event: Event): Unit`
#### userLockReleased | Called by ConnectorController.handle when the user lock is released. `open fun userLockReleased(event: Event): Unit`

### Inheritors

#### AlexaConnectorCallback | The alexa connector callback. `data class AlexaConnectorCallback : ConnectorCallbackBase, SpeechletV2`
#### TeamsConnectorCallback | `class TeamsConnectorCallback : ConnectorCallbackBase`
#### TwitterConnectorCallback | `class TwitterConnectorCallback : ConnectorCallbackBase`
#### WhatsAppConnectorCallback | The WhatsApp ConnectorCallback. `class WhatsAppConnectorCallback : ConnectorCallbackBase`