Class Mqtt5ListenerOptions


  • public class Mqtt5ListenerOptions
    extends Object
    Configuration for the creation of Mqtt5Listener MQTT5 support is currently in developer preview. We encourage feedback at all times, but feedback during the preview window is especially valuable in shaping the final product. During the preview period we may make backwards-incompatible changes to the public API, but in general, this is something we will try our best to avoid.
    • Method Detail

      • getLifecycleEvents

        public Mqtt5ClientOptions.LifecycleEvents getLifecycleEvents()
        Returns the LifecycleEvents interface that will be called when the client gets a LifecycleEvent.
        Returns:
        The LifecycleEvents interface that will be called when the client gets a LifecycleEvent
      • getListenerPublishEvents

        public Mqtt5ListenerOptions.ListenerPublishEvents getListenerPublishEvents()
        Returns the PublishEvents interface that will be called when the client gets a message.
        Returns:
        PublishEvents interface that will be called when the client gets a message.