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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<RpcClientConfig>
configureRpcClients()
Returns a collection of RPC client configurations that should be registered within theRpcService
.
-
-
-
Method Detail
-
configureRpcClients
Collection<RpcClientConfig> configureRpcClients()
Returns a collection of RPC client configurations that should be registered within theRpcService
.- Returns:
- RPC clients configuration.
-
-