e-docs > Tuxedo > Using CORBA Request-Level Interceptors > Request-Level Interceptor API |
Using CORBA Request-Level Interceptors |
TargetRequestInterceptor::target_response
Synopsis
Is called by the target-side ORB anytime that a reply to an invocation is being sent to the initiator of the request.
C++ Binding
virtual Interceptors::ResponseReturnStatus
target_response(
const ReplyContext & reply_context,
ServiceContextList_ptr service_context,
CORBA::DataInputStream_ptr arg_stream,
CORBA::Exception_ptr & excep_val ) = 0;
Parameters
Exceptions
None.
Description
The target_response operation is called on an interceptor implementation that supports the RequestLevelInterceptor::TargetRequestInterceptor interface. The operation is called by the target-side ORB anytime that a reply to an invocation is being sent to the initiator of the request, regardless of whether the initiator is in a different address space or the same address space as the target object.
Return Values
RESPONSE_NO_EXCEPTION
RESPONSE_EXCEPTION