Package 

Interface IMqttServerStatusCallback

    • Method Summary

      Modifier and Type Method Description
      abstract void onConnectSuccess() Callback when MQTT connected success.
      abstract void onConnectError(String errorCode, String error) Callback when MQTT connection occur exception.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • onConnectSuccess

         abstract void onConnectSuccess()

        Callback when MQTT connected success.

      • onConnectError

         abstract void onConnectError(String errorCode, String error)

        Callback when MQTT connection occur exception.

        Parameters:
        errorCode - errorCode
        error - errorMessage