public interface ServerRequestInfo extends ServerRequestInfoOperations, RequestInfo, IDLEntity
对一些属性和操作ServerRequestInfo
是不是在所有的拦截点有效。 下表显示每个属性或操作的有效性。 如果它无效,尝试访问它将导致BAD_INV_ORDER
被抛出与标准的次要代码14。
request_id
yes yes yes yes yesoperation
yes yes yes yes yesarguments
no yes1 yes no2 no2exceptions
no yes yes yes yescontexts
no yes yes yes yesoperation_context
no yes yes no noresult
no no yes no noresponse_expected
yes yes yes yes yessync_scope
yes yes yes yes yes request_id yes yes yes yes yes operation yes yes yes yes yes arguments no yes1 yes no2 no2 exceptions no yes yes yes yes contexts no yes yes yes yes operation_context no yes yes no no result no no yes no no response_expected yes yes yes yes yes sync_scope yes yes yes yes yes reply_status no no yes yes yes forward_reference no no no no yes2 get_slot yes yes yes yes yes get_request_service_context yes no yes yes yes get_reply_service_context no no yes yes yes ServerRequestInfo-specific: sending_exception no no no yes no object_id no yes yes yes3 yes3 adapter_id no yes yes yes3 yes3 server_id no yes yes yes yes orb_id no yes yes yes yes adapter_name no yes yes yes yes target_most_derived_interface no yes no4 no4 no4 get_server_policy yes yes yes yes yes set_slot yes yes yes yes yes target_is_a no yes no4 no4 no4 add_reply_service_context yes yes yes yes yesServerRequestInfo
传递给receive_request
时,每个参数的列表中都有一个条目,无论是在inout还是out中。 但是只有in和inout参数才可用。 reply_status
属性不是LOCATION_FORWARD
,访问此属性将抛出BAD_INV_ORDER
与标准的次要代码14。 NO_RESOURCES
与标准的次要代码1将被抛出,如果它不可用。 ServantLocator
,那么ORB将调用拦截点调用后ServantLocator.postinvoke()
ServerRequestInterceptor
adapter_id, adapter_name, add_reply_service_context, get_server_policy, object_id, orb_id, sending_exception, server_id, set_slot, target_is_a, target_most_derived_interface
arguments, contexts, exceptions, forward_reference, get_reply_service_context, get_request_service_context, get_slot, operation_context, operation, reply_status, request_id, response_expected, result, sync_scope
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override