Interface ClientLifecycleEventListener


  • public interface ClientLifecycleEventListener
    A ClientLifecycleEventListener contains methods that allow custom logic to be executed when:
    • A client starts an MQTT connection
    • The authentication for a client is successful
    • A client is disconnected

    The methods here are for informational purpose only and do not allow modification of the MQTT packets exchanged between the client and the server. Interceptors and Packet Modifiers can be used to modify MQTT packets.

    Since:
    4.0.0, CE 2019.1