Package software.amazon.awssdk.crt.mqtt5
Class OnConnectionSuccessReturn
java.lang.Object
software.amazon.awssdk.crt.mqtt5.OnConnectionSuccessReturn
The data returned when OnConnectionSuccess is invoked in the LifecycleEvents callback.
The data contained within can be gotten using the
get functions.
For example, getResultPublishPacket will return the PublishPacket from the server.-
Method Summary
Modifier and TypeMethodDescriptionReturns the ConnAckPacket returned from the server on the connection success or Null if none was returned.Returns the NegotiatedSettings returned from the server on the connection success or Null if none was returned.
-
Method Details
-
getConnAckPacket
Returns the ConnAckPacket returned from the server on the connection success or Null if none was returned.- Returns:
- The ConnAckPacket returned from the server.
-
getNegotiatedSettings
Returns the NegotiatedSettings returned from the server on the connection success or Null if none was returned.- Returns:
- The NegotiatedSettings returned from the server.
-