Interface MatchServiceUtils

All Known Implementing Classes:
StandardMatchServiceUtils

public interface MatchServiceUtils
A type that assists the services classes in paring players. This performs the action of attempting to pair two players and then signal other players who may be waiting for a response.
  • Method Details

    • attempt

      Match attempt(Matchmaker matchmaker, Match match, MatchmakingApplicationConfiguration configuration)
      Attempts to create a pairing between two players, using the supplied Matchmaker
      Parameters:
      matchmaker - the Matchmaker to use
      match - the originating player match.
      configuration - the MatchmakingApplicationConfiguration to use when finalizing the match
      Returns:
      the Match after the attempt has been made to pair it.
    • redactOpponentUser

      Match redactOpponentUser(Match match)
      Redacts any private information for the opponent user so an opponent may not see the personal details of an opponent User.
      Parameters:
      match - the Match info
      Returns:
      the same Match with private information redacted