game / pragma.matchlifecycle /

Package pragma.matchlifecycle #

Types #

NameSummary

MatchLifecycleService

internal class MatchLifecycleService(pragmaNode: PragmaNode, instanceId: UUID, routingUtils: RoutingUtils = RoutingUtils.defaultInstance, matchEndMetrics: MatchEndMetrics = MatchEndMetrics( Metrics(pragmaNode.metricsRegistry), LoggerFactory.getLogger(MatchEndMetrics::class.java) ), matchEndCommand: MatchEndCommand = MatchEndCommand(), matchesInProcess: MatchesInProcess = MatchesInProcess(), matchmakingClient: MatchmakingClient = MatchmakingClient(), sessionClient: SessionClient = SessionClient()) : DistributedService, ConfigHandler<MatchLifecycleServiceConfig>

MatchLifecycle service is a game loop service responsible for creating matches, sending match connection details to players, and handling any match end processing.