rd-framework / com.jetbrains.rd.framework / IWireWithDelayedDelivery

IWireWithDelayedDelivery

interface IWireWithDelayedDelivery : IWire

Inherited Properties

connected

abstract val connected: <ERROR CLASS><Boolean>

contexts

abstract val contexts: ProtocolContexts

heartbeatAlive

abstract val heartbeatAlive: <ERROR CLASS><Boolean>

heartbeatIntervalMs

abstract var heartbeatIntervalMs: Long

Ping's interval.

Functions

startDeliveringMessages

abstract fun startDeliveringMessages(): Unit

Inherited Functions

advise

abstract fun advise(lifetime: <ERROR CLASS>, entity: IRdWireable): Unit

Adds a entity for receiving updated values of the object with the given IRdWireable.rdid. The handler is removed when the given lifetime is terminated.

send

abstract fun send(id: RdId, writer: (AbstractBuffer) -> Unit): Unit

Sends a data block with the given id and the given writer function that can write the data.

setupContexts

abstract fun setupContexts(newContexts: ProtocolContexts): Unit

Extension Properties

serverPort

val IWire.serverPort: Int

Extension Functions

deepClonePolymorphic

fun <T> T.deepClonePolymorphic(): T

Inheritors

WireBase

abstract class WireBase : IWireWithDelayedDelivery