TransportConfig

class TransportConfig @InternalWowApi constructor(val name: String, val type: String, options: Map<String, String> = emptyMap(), val resources: StoreResources = StoreResources.NONE, val development: Boolean = false, val observer: Observer = Observer.NONE)

What a TransportProvider opens a transport from: its name and type, its own settings (settings, each key relative to the transport's configuration, bootstrap-servers say), the application's resources, and whether the node runs for development (a profile of wow.dev-profiles is in effect): a provider may say less then.

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(name: String, type: String, options: Map<String, String> = emptyMap(), resources: StoreResources = StoreResources.NONE, development: Boolean = false, observer: Observer = Observer.NONE)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard
val key: String

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

Link copied to clipboard
Link copied to clipboard

The node's observer, which the transport tells what it meets, such as an offset gap.

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