Base

abstract class Base : WireBase

Types

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

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
fun dumpToString(): String
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?

Properties

Link copied to clipboard
val acktor: ExecutorService
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 = 500

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
var maxMessageLength: Int
Link copied to clipboard
val scheduler: IScheduler
Link copied to clipboard
val socketProvider: OptProperty<Socket>

Inheritors

Link copied to clipboard
Link copied to clipboard