Module  java.corba

Interface ClientRequestInfo

  • All Superinterfaces:
    ClientRequestInfoOperationsIDLEntityObjectRequestInfoRequestInfoOperationsSerializable


    public interface ClientRequestInfo
    extends ClientRequestInfoOperations, RequestInfo, IDLEntity
    请求信息,客户端请求拦截器可访问。

    ClientRequestInfo某些属性和操作在所有截取点都无效。 下表显示每个属性或操作的有效性。 如果它无效,尝试访问它将导致一个BAD_INV_ORDER被抛出一个标准的次要代码14。

    Shows the validity of each attribute or operation   send_request send_poll receive_reply receive_exception receive_other Inherited from RequestInfo:

    request_id

    yes yes yes yes yes

    operation

    yes yes yes yes yes

    arguments

    yes1 no yes no no

    exceptions

    yes no yes yes yes

    contexts

    yes no yes yes yes

    operation_context

    yes no yes yes yes

    result

    no no yes no no

    response_expected

    yes yes yes yes yes

    sync_scope

    yes no 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 ClientRequestInfo-specific:

    target

    yes yes yes yes yes

    effective_target

    yes yes yes yes yes

    effective_profile

    yes yes yes yes yes

    received_exception

    no no no yes no

    received_exception_id

    no no no yes no

    get_effective_component

    yes no yes yes yes

    get_effective_components

    yes no yes yes yes

    get_request_policy

    yes no yes yes yes

    add_request_service_context

    yes no no no no
    1. ClientRequestInfo传递给send_request ,每个参数的列表中都有一个条目,无论是在inout还是out中。 但是只有in和inout参数才可用。
    2. 如果reply_status属性不是LOCATION_FORWARD ,访问此属性将抛出一个标准的次要代码为14的BAD_INV_ORDER
    另请参见:
    ClientRequestInterceptor