GenericServer

abstract class GenericServer(type: String, flags: GenericFlags)

Inheritors

Constructors

Link copied to clipboard
constructor(type: String, flags: GenericFlags)

Properties

Link copied to clipboard
abstract val port: Int

Functions

Link copied to clipboard
open fun addresses(includeLoopback: Boolean = false): List<ServiceAddress>
Link copied to clipboard
open fun close()

Close the server's background thread

Link copied to clipboard
open fun interfaceAddresses(includeLoopback: Boolean = false): List<InterfaceAddresses>
Link copied to clipboard
open fun listen()

Start the server asynchronously in a background thread

Link copied to clipboard
abstract fun status(): String