[TIBCO.EMS .NET client library 7.0 documentation]
Assembly: TIBCO.EMS (in TIBCO.EMS.dll)
Set the maximum amount of time a client will
wait for the connection to be established
Namespace:
TIBCO.EMSAssembly: TIBCO.EMS (in TIBCO.EMS.dll)
Syntax
public static void SetConnectAttemptTimeout( int timeout ) |
Public Shared Sub SetConnectAttemptTimeout ( _ timeout As Integer _ ) |
public: static void SetConnectAttemptTimeout( int timeout ) |
Parameters
- timeout
- Type: System..::.Int32
Timeout value, in milliseconds. The minimum value is 100 milliseconds, if value less than 100 milliseconds is specified, then the minimum value of 100 milliseconds is used.
Default value is 0 (no timeout).
Remarks
When too many clients connect to the same server, the server may not be
able to accept all connections at the same time or may run out of system
resources. This method specifies the maxmimum amount of time a client is willing
to wait for a connection to be established. Internally the client library
will tear down any hung connections (either because of non-availability
of system resources or some other EMS server problem) after the timeout
period has elapsed.