Remote Client State
data class RemoteClientState(val id: String, var clientConnection: ClientConnection, val eventHandlers: MutableMap<Int, (JsonElement) -> Unit> = HashMap(), val onCloseHandlers: ConcurrentHashMap<Int, () -> Unit> = ConcurrentHashMap(), val debugTokens: MutableMap<String, DebugInfo> = HashMap(), var lastModified: Instant = Instant.now(), var onMessageFunction: (data: JsonElement?) -> Unit? = null)(source)
Constructors
Link copied to clipboard
constructor(id: String, clientConnection: ClientConnection, eventHandlers: MutableMap<Int, (JsonElement) -> Unit> = HashMap(), onCloseHandlers: ConcurrentHashMap<Int, () -> Unit> = ConcurrentHashMap(), debugTokens: MutableMap<String, DebugInfo> = HashMap(), lastModified: Instant = Instant.now(), onMessageFunction: (data: JsonElement?) -> Unit? = null)