JavaTM 2 Platform
Standard Ed. 6

org.omg.PortableInterceptor
接口 ClientRequestInfo

所有超级接口:
ClientRequestInfoOperations, IDLEntity, Object, RequestInfo, RequestInfoOperations, Serializable

public interface ClientRequestInfo
extends ClientRequestInfoOperations, RequestInfo, IDLEntity

客户端请求 interceptor 可访问的请求信息。

ClientRequestInfo 上的某些属性和操作并不是对所有的截取点都有效。下表展示了每个属性或操作的有效性。如果无效,则试图访问它们将导致抛出 BAD_INV_ORDER,并带有标准次要代码 14。

  send_request send_poll receive_reply receive_exception receive_other
继承自 RequestInfo:

request_id

operation

arguments

1

exceptions

contexts

operation_context

result

response_expected

sync_scope

reply_status

forward_reference

2

get_slot

get_request_service_context

get_reply_service_context

特定于 ClientRequestInfo:

target

effective_target

effective_profile

received_exception

received_exception_id

get_effective_component

get_effective_components

get_request_policy

add_request_service_context

  1. ClientRequestInfo 传递给 send_request 时,对于每个参数(无论它是 in、inout 还是 out),列表中都有一个对应的条目。但只有 in 和 inout 参数可用。
  2. 如果 reply_status 属性不是 LOCATION_FORWARD,则访问此属性将抛出 BAD_INV_ORDER,并带有标准次要代码 14。

另请参见:
ClientRequestInterceptor

方法摘要
 
从接口 org.omg.PortableInterceptor.ClientRequestInfoOperations 继承的方法
add_request_service_context, effective_profile, effective_target, get_effective_component, get_effective_components, get_request_policy, received_exception_id, received_exception, target
 
从接口 org.omg.PortableInterceptor.RequestInfoOperations 继承的方法
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
 
从接口 org.omg.CORBA.Object 继承的方法
_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
 


JavaTM 2 Platform
Standard Ed. 6

提交错误或意见

版权所有 2008 Sun Microsystems, Inc. 保留所有权利。请遵守GNU General Public License, version 2 only