ExtWire

class ExtWire : IWire

Constructors

Link copied to clipboard
fun ExtWire()

Types

Link copied to clipboard
data class QueueItem(    val id: RdId,     val msgSize: Int,     val payoad: ByteArray,     val context: List<Pair<RdContext<Any>, Any?>>)

Functions

Link copied to clipboard
open override fun advise(lifetime: Lifetime, entity: IRdWireable)

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.

Link copied to clipboard
open override fun send(id: RdId, writer: (AbstractBuffer) -> Unit)

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

Link copied to clipboard
open override fun setupContexts(newContexts: ProtocolContexts)
Link copied to clipboard
open override fun tryGetById(rdId: RdId): IRdWireable?

Properties

Link copied to clipboard
open override val connected: Property<Boolean>
Link copied to clipboard
open override val contexts: ProtocolContexts
Link copied to clipboard
open override val heartbeatAlive: Property<Boolean>
Link copied to clipboard
open override var heartbeatIntervalMs: Long

Ping's interval.