|
- FCAI_ReqTimer is used to limit the time the interface attempts
to retrieve results from INIT and SCMD requests issued in wait mode,
and TERM that automatically generates SCMD QUIT. (POLL reads data
from the client but accepts only what has been written and returns
immediately; GETL does not read from the client.)
- FCAI_ReqTimer is an unsigned, 1-byte hexadecimal value in the
range 1-255 that indicates the number of seconds to wait for the request
to complete. The value 0 means not to use a timer on the request (wait
until completion).
- FCAI_ReqTimer is approximate.
- FCAI_ReqTimer is not related to performance. Using a low value
does not improve response time on the request. It is intended only
to prevent the interface from polling a non-responsive client process
indefinitely.
- FCAI_ReqTimer is ignored by POLL, GETL, SCMD issued in no-wait
mode, and TERM that does not generate a QUIT subcommand.
- If the interface detects that the client process is no longer
there, it returns FCAI_IE_CliProcessBroken on any request except TERM
requests. When FCAI_ReqTimer expires, the client process is still
there but was unable to return all the results in the time limit that
was specified. The application must determine how to respond when
FCAI_ReqTimer expires.
- Timer expiration during INIT returns FCAI_Result_IE in FCAI_Result
and FCAI_IE_ReqTimerExpired in FCAI_IE. INIT is the only request that
returns this interface error. The error indicates that the interface
failed to initialize.
- Timer expiration during a QUIT generated by TERM causes TERM to
return FCAI_Result_CliProcessKill.
- Timer expiration on an SCMD issued in wait mode returns FCAI_Result_Status
in FCAI_Result and FCAI_Status_InProgress in FCAI_Status. At that
point the behavior of the interface is the same as if the SCMD had
been issued in no-wait mode. See SCMD and POLL for more information about
no-wait processing.
|