rd-framework / com.jetbrains.rd.framework / SocketWire / Client

Client

class Client : SocketWire.Base

Constructors

<init>

Client(lifetime: <ERROR CLASS>, scheduler: <ERROR CLASS>, port: Int, optId: String? = null, hostAddress: InetAddress = InetAddress.getLoopbackAddress())

Inherited Properties

acktor

val acktor: ExecutorService

id

val id: String

lock

val lock: Object

logger

val logger: <ERROR CLASS>

sendBuffer

val sendBuffer: <ERROR CLASS>

socketProvider

val socketProvider: <ERROR CLASS>

Inherited Functions

send

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.