Class RemotePluginServerFactoryBuilder


  • public final class RemotePluginServerFactoryBuilder
    extends java.lang.Object
    Builder of RemotePluginServerFactory for Keyple ObservablePlugin type.
    Since:
    2.0.0
    • Method Detail

      • builder

        public static RemotePluginServerFactoryBuilder.NodeStep builder​(java.lang.String remotePluginName)
        Gets the first step of the builder to use in order to create a new factory instance.
        Parameters:
        remotePluginName - The identifier of the remote plugin.
        Returns:
        Next configuration step.
        Throws:
        java.lang.IllegalArgumentException - If the plugin name is null or empty.
        Since:
        2.0.0
      • builder

        public static RemotePluginServerFactoryBuilder.NodeStep builder​(java.lang.String remotePluginName,
                                                                        java.util.concurrent.ExecutorService executorService)
        Gets the first step of the builder to use in order to create a new factory instance.
        Parameters:
        remotePluginName - The identifier of the remote plugin.
        executorService - The custom service to be used to asynchronously notify remote reader connection events.
        Returns:
        Next configuration step.
        Throws:
        java.lang.IllegalArgumentException - If the plugin name is null or empty or if the executor service is null.
        Since:
        2.1.0