tock / ai.tock.bot.connector / ConnectorBase

# ConnectorBase

`abstract class ConnectorBase : Connector` (source)

Base implementation of Connector. Connector implementations should usually extend this class.

### Constructors

#### <init> | Base implementation of Connector. Connector implementations should usually extend this class. `ConnectorBase(connectorType: ConnectorType, supportedFeatures: Set<ConnectorFeature> = emptySet())`

### Properties

#### connectorType | The type of the connector. `open val connectorType: ConnectorType`
#### supportedFeatures | Supported features. `open val supportedFeatures: Set<ConnectorFeature>`

### Functions

#### toString | Returns connectorType.toString method. `open fun toString(): String`

### Inheritors

#### AlexaConnector | Connector for Amazon Alexa. `class AlexaConnector : ConnectorBase`
#### GAConnector | `class GAConnector : ConnectorBase`
#### MessengerConnector | Contains built-in checks to ensure that two MessageRequest for the same recipient are sent sequentially. `class MessengerConnector : ConnectorBase`
#### SlackConnector | `class SlackConnector : ConnectorBase`
#### WebConnector | `class WebConnector : ConnectorBase, OrchestrationConnector`
#### WhatsAppConnector | `class WhatsAppConnector : ConnectorBase`