Class PlccomMqttClientFactory


  • public final class PlccomMqttClientFactory
    extends Object
    Factory for PLCcom MQTT clients.
    • Method Detail

      • builder

        public static PlccomMqttClientBuilder builder​(String user,
                                                      String serial)
        Creates a high-level client builder and applies PLCcom license information.

        This is the preferred entry point for the licensed high-level client API. The lower-level create(PlccomMqttClientOptions) method remains available for components that intentionally use only prepared options and protocol value objects.

        Parameters:
        user - user name from the PLCcom license information
        serial - serial code from the PLCcom license information
        Returns:
        client builder with license information applied
        Throws:
        NullPointerException - if user or serial is null
      • getLicenceMessage

        public static String getLicenceMessage()
        Returns the current PLCcom client license message.
        Returns:
        human-readable license message