@FunctionalInterface public interface MqttClientConnectedListener
| Modifier and Type | Method and Description |
|---|---|
void |
onConnected(@NotNull MqttClientConnectedContext context)
Listener method which is notified when a client is connected (a successful ConnAck message is received).
|
void onConnected(@NotNull
@NotNull MqttClientConnectedContext context)
This method must not block.
context - provides context about the client that is now connected.