Base

abstract class Base : WireBase

Inheritors

Types

Link copied to clipboard
inner class PkgInputStream(stream: InputStream) : InputStream

Properties

Link copied to clipboard
Link copied to clipboard
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 and not actually detection's timeout. Its value must be the same on both sides of connection.

Link copied to clipboard
val id: String
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val socketProvider: OptProperty<Socket>

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
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 startDeliveringMessages()
Link copied to clipboard
open override fun tryGetById(rdId: RdId): IRdWireable?