Skip to content

/AWS1/CL_GMLGAMESESSCONNINFO

Connection information for a new game session that is created in response to a start matchmaking 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 matchmaking ticket.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_gamesessionarn TYPE /AWS1/GMLARNSTRINGMODEL /AWS1/GMLARNSTRINGMODEL

A unique identifier for the game session. Use the game session ID.

iv_ipaddress TYPE /AWS1/GMLIPADDRESS /AWS1/GMLIPADDRESS

The IP address of the game session. To connect to a Amazon GameLift Servers game server, an app needs both the IP address and port number.

iv_dnsname TYPE /AWS1/GMLDNSNAME /AWS1/GMLDNSNAME

The DNS identifier assigned to the instance that is running the game session. Values have the following format:

When connecting to a game session that is running on a TLS-enabled fleet, you must use the DNS name, not the IP address.

iv_port TYPE /AWS1/GMLPOSITIVEINTEGER /AWS1/GMLPOSITIVEINTEGER

The port number for the game session. To connect to a Amazon GameLift Servers game server, an app needs both the IP address and port number.

it_matchedplayersessions TYPE /AWS1/CL_GMLMATCHEDPLAYERSESS=>TT_MATCHEDPLAYERSESSIONLIST TT_MATCHEDPLAYERSESSIONLIST

A collection of player session IDs, one for each player ID that was included in the original matchmaking request.


Queryable Attributes

GameSessionArn

A unique identifier for the game session. Use the game session ID.

Accessible with the following methods

Method Description
GET_GAMESESSIONARN() Getter for GAMESESSIONARN, with configurable default
ASK_GAMESESSIONARN() Getter for GAMESESSIONARN w/ exceptions if field has no valu
HAS_GAMESESSIONARN() Determine if GAMESESSIONARN has a value

IpAddress

The IP address of the game session. To connect to a Amazon GameLift Servers game server, an app needs both the IP address and port number.

Accessible with the following methods

Method Description
GET_IPADDRESS() Getter for IPADDRESS, with configurable default
ASK_IPADDRESS() Getter for IPADDRESS w/ exceptions if field has no value
HAS_IPADDRESS() Determine if IPADDRESS has a value

DnsName

The DNS identifier assigned to the instance that is running the game session. Values have the following format:

When connecting to a game session that is running on a TLS-enabled fleet, you must use the DNS name, not the IP address.

Accessible with the following methods

Method Description
GET_DNSNAME() Getter for DNSNAME, with configurable default
ASK_DNSNAME() Getter for DNSNAME w/ exceptions if field has no value
HAS_DNSNAME() Determine if DNSNAME has a value

Port

The port number for the game session. To connect to a Amazon GameLift Servers game server, an app needs both the IP address and port number.

Accessible with the following methods

Method Description
GET_PORT() Getter for PORT, with configurable default
ASK_PORT() Getter for PORT w/ exceptions if field has no value
HAS_PORT() Determine if PORT has a value

MatchedPlayerSessions

A collection of player session IDs, one for each player ID that was included in the original matchmaking request.

Accessible with the following methods

Method Description
GET_MATCHEDPLAYERSESSIONS() Getter for MATCHEDPLAYERSESSIONS, with configurable default
ASK_MATCHEDPLAYERSESSIONS() Getter for MATCHEDPLAYERSESSIONS w/ exceptions if field has
HAS_MATCHEDPLAYERSESSIONS() Determine if MATCHEDPLAYERSESSIONS has a value