Acceptable

interface Acceptable<out S : ASocket> : ASocket

Represents a socket source, for example server socket

Functions

Link copied to clipboard
abstract suspend fun accept(): S

accepts socket connection or suspends if none yet available.

Link copied to clipboard
open override fun dispose()

Properties

Link copied to clipboard
abstract val socketContext: Job

Represents a socket lifetime, completes at socket closure

Inheritors

Link copied to clipboard