Package io.hekate.network
Interface NetworkConfigProvider
-
public interface NetworkConfigProvider
Provider ofNetworkConnector
configurations.Instances of this interface are responsible for providing
NetworkConnector
configurations that were obtained from some third party sources or constructed dynamically based on the provider-specific rules. Instances of this interface can be registered viaNetworkServiceFactory.setConfigProviders(List)
method.Another approach to register
NetworkConnector
configurations is to useNetworkServiceFactory.setConnectors(List)
method.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<NetworkConnectorConfig<?>>
configureNetwork()
Returns a collection of connector configurations that should be registered within theNetworkService
.
-
-
-
Method Detail
-
configureNetwork
Collection<NetworkConnectorConfig<?>> configureNetwork()
Returns a collection of connector configurations that should be registered within theNetworkService
.- Returns:
- Channels configuration.
-
-