Package software.amazon.awssdk.crt.mqtt
Class OnConnectionFailureReturn
java.lang.Object
software.amazon.awssdk.crt.mqtt.OnConnectionFailureReturn
The data returned when the connection failure callback is invoked in a connection.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionintGets the AWS CRT error code for the connection failure.
-
Method Details
-
getErrorCode
public int getErrorCode()Gets the AWS CRT error code for the connection failure. Pass toCRT.awsErrorString(int)for a human readable error- Returns:
- The AWS CRT error code for the connection failure.
-