game-common / pragma.loadsimulator / NewLoadSimClientFactory /

NewLoadSimClientFactory #

class NewLoadSimClientFactory(factory: <ERROR CLASS>, delayer: Delayer) : LoadSimClientFactory

The new pragma.clients stack: PragmaClientFactory builds the clients; this wraps them for the loadsim.

Constructors #

NewLoadSimClientFactory

fun NewLoadSimClientFactory(factory: <ERROR CLASS>, delayer: Delayer)

Functions #

NameSummary

connectOperator

open suspend override fun connectOperator(accountId: String): OperatorWrapper

Connects the operator accountId (no login queue).

connectPartner

open suspend override fun connectPartner(): PartnerWrapper

Connects a partner with the pre-provisioned partner tokens from config.

connectPlayer

open suspend override fun connectPlayer(accountId: String): ClientWrapper

Connects a player as accountPrefix + accountId (account must be seeded first).

telemetryRouting

open suspend override fun telemetryRouting(): String

Where this factory’s clients send telemetry, for the run report. E.g. "players: dedicated http://host:12000, operators: …, partners: …" or "players: named backend (no dedicated telemetry), …".