XFNLNET_CLASS_CONNECTTIMEOUT
Connect session timeout for xfNetLink .NET
|
|
|
NSupported in Synergy .NET
|
The XFNLNET_CLASS_CONNECTTIMEOUT setting specifies how long xfNetLink .NET will wait for an acknowledgement from xfServerPlus. It can be set for all classes or a single class.
Value
The number of seconds xfNetLink will wait for an acknowledgment from the session started by the logic server in xfServerPlus.
Discussion
Refer to figure 1 in the Class Settings table; the connect timeout is ‘B’ in that figure. The default for normal operation is 120 seconds; for debug it is 600 seconds. Both the normal time-out and the debug time-out will change to the value specified with XFNLNET_CLASS_CONNECTTIMEOUT. This value is also used to set the request for session time-out (‘A’ in the above-mentioned figure).
CLASS in the environment variable name can be either DEFAULT (which means the setting applies to all classes) or the name of a specific class in your assembly (which means it applies only to that class).
This environment variable can be used with any xfNetLink .NET application. If an application configuration file exists for a .NET Framework application, the value set in the config file will override the corresponding environment variable.
Setting location
The environment where the client program runs.
Used by
xfNetLink .NET
Examples
In this example, all classes except MyClass will wait 60 seconds for an acknowledgment from xfServerPlus; MyClass will wait 90 seconds.
set XFNLNET_DEFAULT_CONNECTTIMEOUT = 60 set XFNLNET_MyClass_CONNECTTIMEOUT = 90