MqttClientFactory constructor

MqttClientFactory({
  1. MqttConfig? mqttConfig,
  2. AsyncClientSecurityCallback<BasicCredentials>? basicCredentialsCallback,
})

Instantiates a new MqttClientFactory.

Implementation

MqttClientFactory({
  MqttConfig? mqttConfig,
  AsyncClientSecurityCallback<BasicCredentials>? basicCredentialsCallback,
})  : _mqttConfig = mqttConfig,
      _basicCredentialsCallback = basicCredentialsCallback;