abstract class Base : WireBase
inner class PkgInputStream : InputStream |
Base(id: String, lifetime: <ERROR CLASS>, scheduler: <ERROR CLASS>) |
val acktor: ExecutorService |
|
val id: String |
|
val lock: Object |
|
val logger: <ERROR CLASS> |
|
val sendBuffer: <ERROR CLASS> |
|
val socketProvider: <ERROR CLASS> |
val connected: <ERROR CLASS> |
|
open val contexts: ProtocolContexts |
|
open val heartbeatAlive: <ERROR CLASS> |
|
open var heartbeatIntervalMs: Long
Ping's interval and not actually detection's timeout. Its value must be the same on both sides of connection. |
|
val messageBroker: MessageBroker |
|
val scheduler: <ERROR CLASS> |
open 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. |
open 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. |
|
fun dumpToString(): <ERROR CLASS> |
|
open fun setupContexts(newContexts: ProtocolContexts): Unit |
|
open fun startDeliveringMessages(): Unit |
class Client : SocketWire.Base |
|
class Server : SocketWire.Base |