MeshNetworkBuilder

Builder DSL for MeshNetwork configuration.

val network = MeshNetwork {
networkKey(myNetKey)
applicationKey(myAppKey)
element(myElement)
stateStore(platformStateStore)
}

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Register an application key.

Link copied to clipboard
fun element(element: MeshElement)

Add an element (our own addressable entities).

Link copied to clipboard

Register a network key.

Link copied to clipboard

Set the persistence backend for network state.