rd-framework / com.jetbrains.rd.framework.base / RdExtBase

RdExtBase

abstract class RdExtBase : RdReactiveBase

Types

ExtState

enum class ExtState

Constructors

<init>

RdExtBase()

Properties

connected

val connected: <ERROR CLASS><Boolean>

protocol

open val protocol: IProtocol

serializationHash

open val serializationHash: Long

serializersOwner

abstract val serializersOwner: ISerializersOwner

wireScheduler

open val wireScheduler: <ERROR CLASS>

Scheduler on which wire invokes callback onWireReceived. Default is the same as protocol's one.

Inherited Properties

async

open var async: Boolean

If set to true, local changes to this object can be performed on any thread. Otherwise, local changes can be performed only on the UI thread.

defaultScheduler

val defaultScheduler: <ERROR CLASS>

isLocalChange

var isLocalChange: Boolean

master

var master: Boolean

serializers

val serializers: ISerializers

wire

val wire: IWire

Functions

init

open fun init(lifetime: <ERROR CLASS>): Unit

onWireReceived

open fun onWireReceived(buffer: AbstractBuffer): Unit

Callback that wire triggers when it receives messaged

pumpScheduler

fun pumpScheduler(): Unit?

Inherited Functions

assertBound

fun assertBound(): Unit

assertThreading

fun assertThreading(): Unit

Extension Functions

bind

fun <T : IRdBindable?> T.bind(lf: <ERROR CLASS>, parent: IRdDynamic, name: String): Unit?

deepClonePolymorphic

fun <T> T.deepClonePolymorphic(): T

identify

fun <T : IRdBindable?> T.identify(identities: IIdentities, ids: RdId): Unit?

static

fun <T : RdBindableBase> T.static(id: Int): T

withId

fun <T : RdBindableBase> T.withId(id: RdId): T

withIdFromName

fun <T : RdBindableBase> T.withIdFromName(name: String): T