ServerMode

sealed class ServerMode

Describes how the server is acquired for this runner instance.

Inheritors

Types

Link copied to clipboard
data class Embedded(val port: Int = 0) : BattleRunner.ServerMode

The runner starts and manages its own embedded server.

Link copied to clipboard
data class External(val url: String) : BattleRunner.ServerMode

The runner connects to a pre-started external server.