SocketWrapper

class SocketWrapper : SocketCommunicator

A wrapper for a socket that makes new socket connections for every request and closes the connection after a request. making it thread safe.

Types

Companion
Link copied to clipboard
synchronousClient
object Companion

Functions

close
Link copied to clipboard
synchronousClient
open override fun close()
readLine
Link copied to clipboard
synchronousClient
abstract fun readLine(): String?
submit
Link copied to clipboard
synchronousClient
abstract fun submit(request: String): String

Properties

actualSocketPath
Link copied to clipboard
synchronousClient
val actualSocketPath: String