GameSessionConnectionInfo class

Connection information for a new game session that is created in response to a StartMatchmaking request. Once a match is made, the FlexMatch engine creates a new game session for it. This information, including the game session endpoint and player sessions for each player in the original matchmaking request, is added to the MatchmakingTicket, which can be retrieved by calling DescribeMatchmaking.

Constructors

GameSessionConnectionInfo({String? dnsName, String? gameSessionArn, String? ipAddress, List<MatchedPlayerSession>? matchedPlayerSessions, int? port})
GameSessionConnectionInfo.fromJson(Map<String, dynamic> json)
factory

Properties

dnsName String?
DNS identifier assigned to the instance that is running the game session. Values have the following format:
final
gameSessionArn String?
Amazon Resource Name (ARN) that is assigned to a game session and uniquely identifies it.
final
hashCode int
The hash code for this object.
no setterinherited
ipAddress String?
IP address of the instance that is running the game session. When connecting to a Amazon GameLift game server, a client needs to reference an IP address (or DNS name) and port number.
final
matchedPlayerSessions List<MatchedPlayerSession>?
A collection of player session IDs, one for each player ID that was included in the original matchmaking request.
final
port int?
Port number for the game session. To connect to a Amazon GameLift game server, an app needs both the IP address and port number.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited