PeerDiscoveryConfig

class PeerDiscoveryConfig @InternalWowApi constructor(val type: String, options: Map<String, String> = emptyMap(), val resources: StoreResources = StoreResources.NONE)

What a PeerDiscovery opens its targets from: its type, its own settings (settings, 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)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val key: String

The configuration key of the discovery's settings, for a provider's failures to name.

Link copied to clipboard
Link copied to clipboard

Its settings, under key: what its provider reads its options from (ProviderSettings).

Link copied to clipboard

Functions

Link copied to clipboard
open override fun toString(): String