64 lines
9.6 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<div class="header">
<div class="subTitle">
org.omg.PortableInterceptor
</div>
<h2 class="title" title="Interface ClientRequestInfo">Interface ClientRequestInfo</h2>
</div><div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>
All Superinterfaces:
</dt>
<dd>
<span><a href="../../../org/omg/PortableInterceptor/ClientRequestInfoOperations.html" title="在org.omg.PortableInterceptor中的接口">ClientRequestInfoOperations</a> <a href="../../../org/omg/CORBA/portable/IDLEntity.html" title="界面在org.omg.CORBA.portable中">IDLEntity</a> <a href="../../../org/omg/CORBA/Object.html" title="在org.omg.CORBA中的接口">Object</a> <a href="../../../org/omg/PortableInterceptor/RequestInfo.html" title="在org.omg.PortableInterceptor中的接口">RequestInfo</a> <a href="../../../org/omg/PortableInterceptor/RequestInfoOperations.html" title="在org.omg.PortableInterceptor中的接口">RequestInfoOperations</a> <a href="../../../java/io/Serializable.html" title="java.io中的接口">Serializable</a></span>
</dd>
</dl>
<hr/> <br/> <pre>public interface <span class="typeNameLabel">ClientRequestInfo</span>
extends <a href="../../../org/omg/PortableInterceptor/ClientRequestInfoOperations.html" title="interface in org.omg.PortableInterceptor">ClientRequestInfoOperations</a>, <a href="../../../org/omg/PortableInterceptor/RequestInfo.html" title="interface in org.omg.PortableInterceptor">RequestInfo</a>, <a href="../../../org/omg/CORBA/portable/IDLEntity.html" title="interface in org.omg.CORBA.portable">IDLEntity</a></pre>
<div class="block">
<span>请求信息,客户端请求拦截器可访问。</span>
<p> <span>对一些属性和操作<code>ClientRequestInfo</code>是不是在所有的拦截点有效。</span> <span>下表显示每个属性或操作的有效性。</span> <span>如果它无效,尝试访问它将导致<code>BAD_INV_ORDER</code>被抛出与14的标准次要代码。</span> </p>
<p></p>
<span>   send_request send_poll receive_reply receive_exception receive_other <i>Inherited from RequestInfo:</i> <p align="left">request_id</p> yes yes yes yes yes <p align="left">operation</p> yes yes yes yes yes <p align="left">arguments</p> yes<sub>1</sub> no yes no no <p align="left">exceptions</p> yes no yes yes yes <p align="left">contexts</p> yes no yes yes yes <p align="left">operation_context</p> yes no yes yes yes <p align="left">result</p> no no yes no no <p align="left">response_expected</p> yes yes yes yes yes <p align="left">sync_scope</p> yes no yes yes yes <p align="left">reply_status</p> no no yes yes yes <p align="left">forward_reference</p> no no no no yes<sub>2</sub> <p align="left">get_slot</p> yes yes yes yes yes <p align="left">get_request_service_context</p> yes no yes yes yes <p align="left">get_reply_service_context</p> no no yes yes yes <i>ClientRequestInfo-specific:</i> <p align="left">target</p> yes yes yes yes yes <p align="left">effective_target</p> yes yes yes yes yes <p align="left">effective_profile</p> yes yes yes yes yes <p align="left">received_exception</p> no no no yes no <p align="left">received_exception_id</p> no no no yes no <p align="left">get_effective_component</p> yes no yes yes yes <p align="left">get_effective_components</p> yes no yes yes yes <p align="left">get_request_policy</p> yes no yes yes yes <p align="left">add_request_service_context</p> yes no no no no </span>
<table border="1" summary="Shows the validity of each attribute or operation">
</table>
<ol>
<li> <span><code>ClientRequestInfo</code>传递给<code>send_request</code>每个参数的列表中都有一个条目无论是在inout还是out中。</span> <span>但是只有in和inout参数才可用。</span> </li>
<li> <span>如果<code>reply_status</code>贡献不是<code>LOCATION_FORWARD</code> ,访问此属性将抛出<code>BAD_INV_ORDER</code>标准的次要代码为14。</span> </li>
</ol>
</div>
<dl>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<span><a href="../../../org/omg/PortableInterceptor/ClientRequestInterceptor.html" title="在org.omg.PortableInterceptor中的接口"><code>ClientRequestInterceptor</code></a></span>
</dd>
</dl> </li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- --> </a> <h3>方法摘要</h3>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.omg.PortableInterceptor.ClientRequestInfoOperations">
<!-- --> </a> <h3>Methods inherited from interface org.omg.PortableInterceptor.<a href="../../../org/omg/PortableInterceptor/ClientRequestInfoOperations.html" title="interface in org.omg.PortableInterceptor">ClientRequestInfoOperations</a></h3> <code><a href="../../../org/omg/PortableInterceptor/ClientRequestInfoOperations.html#add_request_service_context-org.omg.IOP.ServiceContext-boolean-">add_request_service_context</a>, <a href="../../../org/omg/PortableInterceptor/ClientRequestInfoOperations.html#effective_profile--">effective_profile</a>, <a href="../../../org/omg/PortableInterceptor/ClientRequestInfoOperations.html#effective_target--">effective_target</a>, <a href="../../../org/omg/PortableInterceptor/ClientRequestInfoOperations.html#get_effective_component-int-">get_effective_component</a>, <a href="../../../org/omg/PortableInterceptor/ClientRequestInfoOperations.html#get_effective_components-int-">get_effective_components</a>, <a href="../../../org/omg/PortableInterceptor/ClientRequestInfoOperations.html#get_request_policy-int-">get_request_policy</a>, <a href="../../../org/omg/PortableInterceptor/ClientRequestInfoOperations.html#received_exception_id--">received_exception_id</a>, <a href="../../../org/omg/PortableInterceptor/ClientRequestInfoOperations.html#received_exception--">received_exception</a>, <a href="../../../org/omg/PortableInterceptor/ClientRequestInfoOperations.html#target--">target</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.omg.PortableInterceptor.RequestInfoOperations">
<!-- --> </a> <h3>Methods inherited from interface org.omg.PortableInterceptor.<a href="../../../org/omg/PortableInterceptor/RequestInfoOperations.html" title="interface in org.omg.PortableInterceptor">RequestInfoOperations</a></h3> <code><a href="../../../org/omg/PortableInterceptor/RequestInfoOperations.html#arguments--">arguments</a>, <a href="../../../org/omg/PortableInterceptor/RequestInfoOperations.html#contexts--">contexts</a>, <a href="../../../org/omg/PortableInterceptor/RequestInfoOperations.html#exceptions--">exceptions</a>, <a href="../../../org/omg/PortableInterceptor/RequestInfoOperations.html#forward_reference--">forward_reference</a>, <a href="../../../org/omg/PortableInterceptor/RequestInfoOperations.html#get_reply_service_context-int-">get_reply_service_context</a>, <a href="../../../org/omg/PortableInterceptor/RequestInfoOperations.html#get_request_service_context-int-">get_request_service_context</a>, <a href="../../../org/omg/PortableInterceptor/RequestInfoOperations.html#get_slot-int-">get_slot</a>, <a href="../../../org/omg/PortableInterceptor/RequestInfoOperations.html#operation_context--">operation_context</a>, <a href="../../../org/omg/PortableInterceptor/RequestInfoOperations.html#operation--">operation</a>, <a href="../../../org/omg/PortableInterceptor/RequestInfoOperations.html#reply_status--">reply_status</a>, <a href="../../../org/omg/PortableInterceptor/RequestInfoOperations.html#request_id--">request_id</a>, <a href="../../../org/omg/PortableInterceptor/RequestInfoOperations.html#response_expected--">response_expected</a>, <a href="../../../org/omg/PortableInterceptor/RequestInfoOperations.html#result--">result</a>, <a href="../../../org/omg/PortableInterceptor/RequestInfoOperations.html#sync_scope--">sync_scope</a></code></li>
</ul>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.org.omg.CORBA.Object">
<!-- --> </a> <h3>Methods inherited from interface org.omg.CORBA.<a href="../../../org/omg/CORBA/Object.html" title="interface in org.omg.CORBA">Object</a></h3> <code><a href="../../../org/omg/CORBA/Object.html#Z:Z_create_request-org.omg.CORBA.Context-java.lang.String-org.omg.CORBA.NVList-org.omg.CORBA.NamedValue-">_create_request</a>, <a href="../../../org/omg/CORBA/Object.html#Z:Z_create_request-org.omg.CORBA.Context-java.lang.String-org.omg.CORBA.NVList-org.omg.CORBA.NamedValue-org.omg.CORBA.ExceptionList-org.omg.CORBA.ContextList-">_create_request</a>, <a href="../../../org/omg/CORBA/Object.html#Z:Z_duplicate--">_duplicate</a>, <a href="../../../org/omg/CORBA/Object.html#Z:Z_get_domain_managers--">_get_domain_managers</a>, <a href="../../../org/omg/CORBA/Object.html#Z:Z_get_interface_def--">_get_interface_def</a>, <a href="../../../org/omg/CORBA/Object.html#Z:Z_get_policy-int-">_get_policy</a>, <a href="../../../org/omg/CORBA/Object.html#Z:Z_hash-int-">_hash</a>, <a href="../../../org/omg/CORBA/Object.html#Z:Z_is_a-java.lang.String-">_is_a</a>, <a href="../../../org/omg/CORBA/Object.html#Z:Z_is_equivalent-org.omg.CORBA.Object-">_is_equivalent</a>, <a href="../../../org/omg/CORBA/Object.html#Z:Z_non_existent--">_non_existent</a>, <a href="../../../org/omg/CORBA/Object.html#Z:Z_release--">_release</a>, <a href="../../../org/omg/CORBA/Object.html#Z:Z_request-java.lang.String-">_request</a>, <a href="../../../org/omg/CORBA/Object.html#Z:Z_set_policy_override-org.omg.CORBA.Policy:A-org.omg.CORBA.SetOverrideType-">_set_policy_override</a></code></li>
</ul> </li>
</ul> </li>
</ul>
</div>
</div>