OpenTP1 Version 7 TP1/Client User's Guide TP1/Client/J

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

2.2.6 Time monitoring of RPCs

When you issue a synchronous-response RPC, you can monitor the length of time until a response message is received.

You use the dcwatchtim operand in the TP1/Client/J environment definition to specify a monitoring interval.

You can also specify the monitoring interval by calling the setDcwatchtim method from the CUP. To change the monitoring interval as appropriate for the service to be requested, you must set a new monitoring interval before issuing the RPC. If no response message is received within the specified monitoring interval, the RPC returns an error.