game-common / pragma.loadsimulator / LoadSimClientFactory /

LoadSimClientFactory #

interface LoadSimClientFactory

Produces connected load-sim clients. Players are ClientWrappers, the operator an OperatorWrapper and the partner a PartnerWrapper.

Functions #

NameSummary

connectOperator

abstract suspend fun connectOperator(accountId: String): OperatorWrapper

Connects the operator accountId (no login queue).

connectPartner

abstract suspend fun connectPartner(): PartnerWrapper

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

connectPlayer

abstract suspend fun connectPlayer(accountId: String): ClientWrapper

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

telemetryRouting

abstract suspend 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), …".

Inheritors #

Name

NewLoadSimClientFactory

OldLoadSimClientFactory