onDone method

  1. @protected
void onDone ()
@protected

OnDone listener callback

Implementation

@protected
void onDone() {
  _disconnect();
  if (onDisconnected != null) {
    MqttLogger.log(
        'MqttConnectionBase::_onDone - calling disconnected callback');
    onDisconnected();
  }
}