LightModelServer

class LightModelServer @JvmOverloads constructor(val port: Int, val rootNodeProvider: () -> INode?, val ignoredRoles: Set<IRole> = emptySet(), additionalHealthChecks: List<LightModelServer.IHealthCheck> = emptyList())

Constructors

Link copied to clipboard
constructor(port: Int, rootNode: INode, ignoredRoles: Set<IRole> = emptySet(), additionalHealthChecks: List<LightModelServer.IHealthCheck> = emptyList())
constructor(port: Int, rootNodeProvider: () -> INode?, ignoredRoles: Set<IRole> = emptySet(), additionalHealthChecks: List<LightModelServer.IHealthCheck> = emptyList())

Types

Link copied to clipboard
object Companion
Link copied to clipboard
interface IHealthCheck
Link copied to clipboard
inner class SessionData(val websocketSession: DefaultWebSocketServerSession)

Properties

Link copied to clipboard
Link copied to clipboard
val port: Int
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun Application.installHandlers()
Link copied to clipboard
fun nodeChanged(node: INode)
Link copied to clipboard
Link copied to clipboard
fun start(wait: Boolean = false)
Link copied to clipboard
fun stop()