Simulates the operating mode of HFSQL Client/Server on an ADSL or 3G network.
Remark: This function is used to test (in local or in LAN) an application that uses HFSQL in the conditions of an ADSL or 3G network. This function slows down all the communications between the client and the HFSQL server.
This function is used when debugging and optimizing an application.
// Simulate the 3G network
Proc_Process() // Process whose performance in 3G must be analyzed
// Back to a standard operating mode
<Result> = HSimulateNetwork([<Connection>, ] <Type of network>)
- True if the simulation is started,
- False if an error occurred.
<Connection>: Character string or Connection variable
Connection to use. This connection corresponds to:If this parameter is not specified, the simulation is applied to all the current and future connections.
<Type of network>: Integer constant
Type of network to simulate:
|h3G||Type of network to simulate: 3G|
|hADSL||Type of network to simulate: ADSL|
|hNone||Used to disable the simulation of a specific network.|
- This function must not be used in a deployed application. This function is used when debugging and optimizing an application.
- This function increases the latency and reduces the throughput of the network connections used for HFSQL Client/Server.
Business / UI classification: Business Logic