tibemsConnectionFactory_SetConnectAttemptDelay

Function

Purpose

Modify the connection delay setting.

C Declaration

tibems_status tibemsConnectionFactory_SetConnectAttemptDelay(
    tibemsConnectionFactory factory,
    tibems_int delay );

COBOL Call

CALL "tibemsConnectionFactory_SetConnectAttemptDelay"
     USING BY VALUE factory,
           BY VALUE delay,
           RETURNING tibems-status
END-CALL.
Note: factory has usage pointer.

Parameters

Parameter Description
factory Set the connection delay parameter of this connection factory.
delay This value determines the time (in milliseconds) between connection attempts. The minimum value is 250.

When this property is not set, the default value is 500.