Acceptor

interface Acceptor(source)

Properties

Link copied to clipboard
abstract val addresses: List<String>

Every address being listened on, as host and port text.

Link copied to clipboard
abstract val port: Int

Functions

Link copied to clipboard
abstract fun accept(timeoutMillis: Int): Connection?

The next connection, or null when none arrived within timeoutMillis.

Link copied to clipboard
abstract fun close()