Class OnConnectionFailureReturn

java.lang.Object
software.amazon.awssdk.crt.mqtt.OnConnectionFailureReturn

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

    • 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.