OpenTP1 Version 7 Programming Guide

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

2.1.9 Acquiring descriptor of asynchronous-response-type RPC request which has encountered error

You can use a means to acquire the descriptor of an asynchronous-response-type RPC request which has encountered an error, by invoking that means just after the function dc_rpc_poll_any_replies() [CBLDCRPC('POLLANYR')] without a particular asynchronous response specified returns with an error.

The means used to acquire the descriptor of an asynchronous-response-type RPC request which has encountered an error is the function dc_rpc_get_error_descriptor() [CBLDCRPC('GETERDES')].

The descriptor of an asynchronous response can be acquired only when the error has occurred on the SPP. If an error has occurred on the dc_rpc_poll_any_replies [CBLDCRPC('POLLANYR')] caller, the function dc_rpc_get_error_descriptor() [CBLDCRPC('GETERDES')] cannot acquire the descriptor of that asynchronous response.