[TIBCO.EMS .NET client library 6.3 documentation]
Assembly: TIBCO.EMS (in TIBCO.EMS.dll)
Sets the maximum amount of time a client will wait for
the reconnect to complete
Namespace:
TIBCO.EMSAssembly: TIBCO.EMS (in TIBCO.EMS.dll)
Syntax
public static void SetReconnectAttemptTimeout( int timeout ) |
Public Shared Sub SetReconnectAttemptTimeout ( _ timeout As Integer _ ) |
public: static void SetReconnectAttemptTimeout( 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
This method is similar to SetConnectAttemptTimeout(Int32). However,
during the initial connect of the clients to the server, the time for
each connect attempt is normally distributed and there are less chances
of the server exceeding its maximum accept queue. During a fault-tolerant
switch, all of the clients automatically try to reconnect to the backup
server at approximately the same time. When the number of connections
is large, it may require more reconnect time to reconnect than the
initial connect.