Package io.hekate.rpc

Interface RpcClientConfigProvider


  • public interface RpcClientConfigProvider
    Provider of RPC clients configuration.

    Instances of this interface are responsible for providing RPC clients configuration that were obtained from some third party sources or constructed dynamically based on the provider-specific rules. Instances of this interface can be registered via RpcServiceFactory.setClientProviders(List) method.

    Another approach to register RPC clients configuration is to use RpcServiceFactory.setClients(List) method.

    • Method Detail

      • configureRpcClients

        Collection<RpcClientConfig> configureRpcClients()
        Returns a collection of RPC client configurations that should be registered within the RpcService.
        Returns:
        RPC clients configuration.