Package-level declarations

Types

Link copied to clipboard
sealed interface AddDataResult
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
class KailleraGame(val id: Int, val romName: String, val owner: KailleraUser, val server: KailleraServer, val bufferSize: Int, flags: RuntimeFlags, clock: Clock) : KoinComponent

Represents a game instance on the server.

Link copied to clipboard
class KailleraServer(val accessManager: AccessManager, flags: RuntimeFlags, statsCollector: StatsCollector?, val releaseInfo: ReleaseInfo, autoFireDetectorFactory: AutoFireDetectorFactory, lookingForGameReporter: TwitterBroadcaster, metrics: MetricRegistry, taskScheduler: TaskScheduler, clock: Clock) : KoinComponent

Holds server-wide state.

Link copied to clipboard
class KailleraUser(val id: Int, val protocol: String, val connectSocketAddress: InetSocketAddress, clientHandler: V086ClientHandler, val server: KailleraServer, flags: RuntimeFlags, clock: Clock)

Represents a user in the server.

Link copied to clipboard
class Lagometer(val frameDurationNs: Duration, historyDuration: Duration, historyResolution: Duration, val numPlayers: Int, startTimeNs: Long, clock: Clock = Clock.System)
Link copied to clipboard
class UserData(frameDurationNs: Duration, val totalDriftCache: TimeOffsetCache, var receivedDataNs: Long = 0, var totalDrift: Duration = Duration.ZERO, var lagLeeway: Duration = Duration.ZERO)
Link copied to clipboard

Properties

Link copied to clipboard