public interface MqttClientConnectionEvents
Modifier and Type | Method and Description |
---|---|
void |
onConnectionInterrupted(int errorCode)
connection was lost (or disconnected), reconnect will be attempted automatically until
disconnect() is called
|
void |
onConnectionResumed(boolean sessionPresent)
called on first successful connect, and whenever a reconnect succeeds
|
void onConnectionInterrupted(int errorCode)
errorCode
- AWS CRT error code, pass to CRT.awsErrorString(int)
for a human readable errorvoid onConnectionResumed(boolean sessionPresent)
sessionPresent
- true if the session has been resumed, false if the session is cleanCopyright © 2021. All rights reserved.