PeerDiscoveryConfig
class PeerDiscoveryConfig @InternalWowApi constructor(val type: String, val options: Map<String, String> = emptyMap(), val resources: StoreResources = StoreResources.NONE)
What a PeerDiscovery opens its targets from: its type, its own settings (options, each key relative to wow.peer.<type>, name-template say) and the application's resources.
Fields may be added: the host builds it, so the constructor is internal to Wow; a provider's test builds one with of.
Constructors
Link copied to clipboard
constructor(type: String, options: Map<String, String> = emptyMap(), resources: StoreResources = StoreResources.NONE)
Properties
Link copied to clipboard
The keys of options the discovery asked for, so a test can hold them to the options it declares.
Link copied to clipboard
Functions
Link copied to clipboard
The value of the ProviderOption.Defaulted option: its setting, parsed, else its default, so always one.