Share via


xSession::pseudoSimMode Method

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

Syntax

client server public static int pseudoSimMode([int simMode])

Run On

ClientOrServer

Parameters

  • simMode
    Type: int
    Turns delay simulation on or off. Set to zero to turn simulation off. Set to 1 to simulate delays for application calls. Set to 2 to simulate delays for all calls.

Return Value

Type: int
An integer that indicates whether delay simulation is turned on. If the return value is zero, there is no delay simulation. If the return value is 1, delays are simulated only for application-controlled calls. If the return value is 2, delays are simulated for all calls.

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::pseudoLatency Method