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

Server

class Server : SocketWire.Base

Constructors

<init>

Server(lifetime: <ERROR CLASS>, scheduler: <ERROR CLASS>, port: Int?, optId: String? = null, allowRemoteConnections: Boolean = false)

Properties

port

val port: Int

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.