Interface MqttClientDisconnectedListener

All Known Subinterfaces:
MqttClientAutoReconnect
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public interface MqttClientDisconnectedListener
Listener which is notified when a client is disconnected (with or without a Disconnect message) or the connection fails.
Since:
1.1
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Listener method which is notified in the following cases: A client was disconnected (with or without a Disconnect message, by the server, client or user) or the connection failed.