Share via


xSession::pseudoLatency Method

Determines whether latency simulation is turned on for the session, and enables latency simulation to be turned on or off.

Syntax

client server public static int pseudoLatency([int latency])

Run On

ClientOrServer

Parameters

  • latency
    Type: int
    Turns latency simulation on or off. Set to zero to turn simulation off. Other values turn simulation on.

Return Value

Type: int
An integer that indicates whether latency simulation is turned on. If the return value is zero, there is no latency simulation.

Remarks

You can run pseudo simulations of remote connections from the System monitoring tool:

  • On the toolbar, select Tools, point to Development tools, point to System monitoring, and then click the Remote connection tab

See Also

xSession Class

xSession::pseudoBandwidth Method

xSession::pseudoSimMode Method