Class ECPDSListener

java.lang.Object
ecmwf.ecpds.mover.plugin.mqtt.ECPDSListener
All Implemented Interfaces:
com.hivemq.extension.sdk.api.events.client.ClientLifecycleEventListener

public class ECPDSListener extends Object implements com.hivemq.extension.sdk.api.events.client.ClientLifecycleEventListener
The listener interface for receiving ECPDS events. The class that is interested in processing a ECPDS event implements this interface, and the object created with that class is registered with a component using the component's addECPDSListener method. When the ECPDS event occurs, that object's appropriate method is invoked.
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    onAuthenticationSuccessful(@NotNull com.hivemq.extension.sdk.api.events.client.parameters.AuthenticationSuccessfulInput authenticationSuccessfulInput)
    On authentication successful.
    void
    onDisconnect(@NotNull com.hivemq.extension.sdk.api.events.client.parameters.DisconnectEventInput disconnectEventInput)
    On disconnect.
    void
    onMqttConnectionStart(@NotNull com.hivemq.extension.sdk.api.events.client.parameters.ConnectionStartInput connectionStartInput)
    On mqtt connection start.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface com.hivemq.extension.sdk.api.events.client.ClientLifecycleEventListener

    onAuthenticationFailedDisconnect, onClientInitiatedDisconnect, onConnectionLost, onServerInitiatedDisconnect
  • Constructor Details

    • ECPDSListener

      public ECPDSListener()
  • Method Details

    • onMqttConnectionStart

      public void onMqttConnectionStart(@NotNull @NotNull com.hivemq.extension.sdk.api.events.client.parameters.ConnectionStartInput connectionStartInput)
      On mqtt connection start.
      Specified by:
      onMqttConnectionStart in interface com.hivemq.extension.sdk.api.events.client.ClientLifecycleEventListener
    • onAuthenticationSuccessful

      public void onAuthenticationSuccessful(@NotNull @NotNull com.hivemq.extension.sdk.api.events.client.parameters.AuthenticationSuccessfulInput authenticationSuccessfulInput)
      On authentication successful.
      Specified by:
      onAuthenticationSuccessful in interface com.hivemq.extension.sdk.api.events.client.ClientLifecycleEventListener
    • onDisconnect

      public void onDisconnect(@NotNull @NotNull com.hivemq.extension.sdk.api.events.client.parameters.DisconnectEventInput disconnectEventInput)
      On disconnect.
      Specified by:
      onDisconnect in interface com.hivemq.extension.sdk.api.events.client.ClientLifecycleEventListener