Package software.amazon.awssdk.crt.mqtt
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:
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.
-
-
-
Method Detail
-
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.
-
-