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

IRdBindable

interface IRdBindable : IRdDynamic

A non-root node in an object graph which can be synchronized with its remote copy over a network or a similar connection.

Properties

rdid

abstract val rdid: RdId

Inherited Properties

location

abstract val location: <ERROR CLASS>

protocol

abstract val protocol: IProtocol

serializationContext

abstract val serializationContext: SerializationCtx

Functions

bind

abstract fun bind(lf: <ERROR CLASS>, parent: IRdDynamic, name: String): Unit

Inserts the node into the object graph under the given parent and assigns the specified name to it. The node will be removed from the graph when the specified lf lifetime is terminated.

deepClone

open fun deepClone(): IRdBindable

Creates a clone of this IRdBindable not bound to any protocol

identify

abstract fun identify(identities: IIdentities, id: RdId): Unit

Assigns IDs to this node and its child nodes in the graph.

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?

Inheritors

IRdReactive

interface IRdReactive : IRdBindable, IRdWireable

A non-root node in an object graph which can be synchronized with its remote copy over a network or a similar connection, and which allows to subscribe to its changes.

RdBindableBase

abstract class RdBindableBase : IRdBindable

RdDelegateBase

abstract class RdDelegateBase<out T : RdBindableBase> : IRdBindable