OpenTP1 Version 7 TP1/Client User's Guide TP1/Client/W, TP1/Client/P

[Contents][Index][Back][Next]

2.3.7 RPC time monitoring

When you use a synchronous-response type RPC, you can monitor the time until a response message is received. Specify the monitoring time using DCWATCHTIM in the client environment definition.

You can also set the monitoring time by letting the CUP execute the dc_rpc_set_watch_time_s function.

To change the monitoring time depending on services you request, set the monitoring time before executing the RPC. You can reference the specified monitoring time by executing the dc_rpc_get_watch_time_s function.

When no response message returns after the specified monitoring time, the RPC returns control with an error.