Class OnConnectionFailureReturn


  • public class OnConnectionFailureReturn
    extends java.lang.Object
    The data returned when the connection failure callback is invoked in a connection.
    See Also:
    MqttClientConnectionEvents
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int getErrorCode()
      Gets the AWS CRT error code for the connection failure.
      • Methods inherited from class java.lang.Object

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

      • getErrorCode

        public int getErrorCode()
        Gets the AWS CRT error code for the connection failure. Pass to CRT.awsErrorString(int) for a human readable error
        Returns:
        The AWS CRT error code for the connection failure.