Package io.hekate.rpc
Interface RpcServerConfigProvider
-
public interface RpcServerConfigProvider
Provider of RPC servers configuration.Instances of this interface are responsible for providing RPC servers 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.setServerProviders(List)
method.Another approach to register RPC servers configuration is to use
RpcServiceFactory.setServers(List)
method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<RpcServerConfig>
configureRpcServers()
Returns a collection of RPC server configurations that should be registered within theRpcService
.
-
-
-
Method Detail
-
configureRpcServers
Collection<RpcServerConfig> configureRpcServers()
Returns a collection of RPC server configurations that should be registered within theRpcService
.- Returns:
- RPC servers configuration.
-
-