Skip to content

/AWS1/CL_GMLPLAYERLATENCYPLY

Sets a latency cap for individual players when placing a game session. With a latency policy in force, a game session cannot be placed in a fleet location where a player reports latency higher than the cap. Latency policies are used only with placement request that provide player latency information. Player latency policies can be stacked to gradually relax latency requirements over time.

CONSTRUCTOR

IMPORTING

Optional arguments:

IV_MAXINDIVIDUALPLAYERLATE00 TYPE /AWS1/GMLWHOLENUMBER /AWS1/GMLWHOLENUMBER

The maximum latency value that is allowed for any player, in milliseconds. All policies must have a value set for this property.

IV_POLICYDURATIONSECONDS TYPE /AWS1/GMLWHOLENUMBER /AWS1/GMLWHOLENUMBER

The length of time, in seconds, that the policy is enforced while placing a new game session. A null value for this property means that the policy is enforced until the queue times out.


Queryable Attributes

MaximumIndividualPlayerLatencyMilliseconds

The maximum latency value that is allowed for any player, in milliseconds. All policies must have a value set for this property.

Accessible with the following methods

Method Description
GET_MAXINDIVIDUALPLAYERLAT00() Getter for MAXINDIVIDUALPLAYERLATENCY00, with configurable d
ASK_MAXINDIVIDUALPLAYERLAT00() Getter for MAXINDIVIDUALPLAYERLATENCY00 w/ exceptions if fie
HAS_MAXINDIVIDUALPLAYERLAT00() Determine if MAXINDIVIDUALPLAYERLATENCY00 has a value

PolicyDurationSeconds

The length of time, in seconds, that the policy is enforced while placing a new game session. A null value for this property means that the policy is enforced until the queue times out.

Accessible with the following methods

Method Description
GET_POLICYDURATIONSECONDS() Getter for POLICYDURATIONSECONDS, with configurable default
ASK_POLICYDURATIONSECONDS() Getter for POLICYDURATIONSECONDS w/ exceptions if field has
HAS_POLICYDURATIONSECONDS() Determine if POLICYDURATIONSECONDS has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_PLAYERLATENCYPOLICYLIST

TYPES TT_PLAYERLATENCYPOLICYLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_GMLPLAYERLATENCYPLY WITH DEFAULT KEY
.