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

IRdWireable

interface IRdWireable : IRdDynamic

Entity that could receive messages from wire

Properties

isBound

abstract val isBound: Boolean

rdid

abstract val rdid: RdId

wireScheduler

abstract val wireScheduler: <ERROR CLASS>

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

Inherited Properties

location

abstract val location: <ERROR CLASS>

protocol

abstract val protocol: IProtocol

serializationContext

abstract val serializationContext: SerializationCtx

Functions

onWireReceived

abstract fun onWireReceived(buffer: AbstractBuffer): Unit

Callback that wire triggers when it receives messaged

Extension Functions

deepClonePolymorphic

fun <T> T.deepClonePolymorphic(): T

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.

WiredRdTask

abstract class WiredRdTask<TReq, TRes> : RdTask<TRes>, IRdWireable