uTools-Manuals/docs/java/org/omg/CORBA/CompletionStatus.html

314 lines
13 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.CORBA
</div>
<h2 class="title" title="Class CompletionStatus">Class CompletionStatus</h2>
</div><div class="contentContainer">
<ul class="inheritance">
<li><a href="../../../java/lang/Object.html" title="class in java.lang">java.lang.Object</a></li>
<li>
<ul class="inheritance">
<li>org.omg.CORBA.CompletionStatus</li>
</ul> </li>
</ul>
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>
All Implemented Interfaces:
</dt>
<dd>
<span><a href="../../../java/io/Serializable.html" title="java.io中的接口">Serializable</a> <a href="../../../org/omg/CORBA/portable/IDLEntity.html" title="界面在org.omg.CORBA.portable中">IDLEntity</a></span>
</dd>
</dl>
<hr/> <br/> <pre>public final class <span class="typeNameLabel">CompletionStatus</span>
extends <a href="../../../java/lang/Object.html" title="class in java.lang">Object</a>
implements <a href="../../../org/omg/CORBA/portable/IDLEntity.html" title="interface in org.omg.CORBA.portable">IDLEntity</a></pre>
<div class="block">
<span>表示一个方法是否已结束运行时的对象<code>SystemException</code>被抛出。</span>
<p> <span>该类<code>CompletionStatus</code>包含三个<code>CompletionStatus</code>情况下,这是代表每个可能的完成状态的常数: <code>COMPLETED_MAYBE</code> <code>COMPLETED_NO</code><code>COMPLETED_YES</code></span> <span>它还包含三个<code>int</code>成员,每个常量对应于<code>CompletionStatus</code>实例之一。</span> <span>这些<code>int</code>成员可以使用<code>switch</code>语句。</span> </p>
<p> <span>该类还包含两种方法:</span> </p>
<ul>
<li> <span><code>public int
<bold>
value
</bold>()</code> - 其访问<code>CompletionStatus</code>对象的<code>value</code>字段</span> </li>
<li> <span><code>public static CompletionStatus
<bold>
from_int
</bold>(int i)</code> - 用于从<code>int</code>成员之一创建一个实例</span> </li>
</ul>
</div>
<dl>
<dt>
<span class="simpleTagLabel">从以下版本开始:</span>
</dt>
<dd>
JDK1.2
</dd>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<span><a href="../../../org/omg/CORBA/SystemException.html" title="在org.omg.CORBA中的类"><code>SystemException</code></a></span>
</dd>
</dl> </li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!-- =========== FIELD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.summary">
<!-- --> </a> <h3>Field Summary</h3>
<table border="0" cellpadding="3" cellspacing="0" class="memberSummary" summary="Field Summary table, listing fields, and an explanation">
<caption>
<span>Fields</span>
<span class="tabEnd"> </span>
</caption>
<tbody>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Field and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/CompletionStatus.html#Z:Z_COMPLETED_MAYBE">_COMPLETED_MAYBE</a></span></code>
<div class="block">
表示在SystemException之前运行的方法被抛出的
<code>SystemException</code>
</div> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/CompletionStatus.html#Z:Z_COMPLETED_NO">_COMPLETED_NO</a></span></code>
<div class="block">
表示在SystemException之前运行的方法被抛出的
<code>SystemException</code>
</div> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/CompletionStatus.html#Z:Z_COMPLETED_YES">_COMPLETED_YES</a></span></code>
<div class="block">
表示在SystemException之前运行的方法被抛出的
<code>SystemException</code>
</div> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../org/omg/CORBA/CompletionStatus.html" title="class in org.omg.CORBA">CompletionStatus</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/CompletionStatus.html#COMPLETED_MAYBE">COMPLETED_MAYBE</a></span></code>
<div class="block">
<code>CompletionStatus</code>一个实例用常量
<code>_COMPLETED_MAYBE</code>
</div> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../org/omg/CORBA/CompletionStatus.html" title="class in org.omg.CORBA">CompletionStatus</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/CompletionStatus.html#COMPLETED_NO">COMPLETED_NO</a></span></code>
<div class="block">
<code>CompletionStatus</code>一个实例用常数
<code>_COMPLETED_NO</code>
</div> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static <a href="../../../org/omg/CORBA/CompletionStatus.html" title="class in org.omg.CORBA">CompletionStatus</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/CompletionStatus.html#COMPLETED_YES">COMPLETED_YES</a></span></code>
<div class="block">
<code>CompletionStatus</code>一个实例用常量
<code>_COMPLETED_YES</code>
</div> </td>
</tr>
</tbody>
</table> </li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method.summary">
<!-- --> </a> <h3>方法摘要</h3>
<table border="0" cellpadding="3" cellspacing="0" class="memberSummary" summary="Method Summary table, listing methods, and an explanation">
<caption>
<span class="activeTableTab" id="t0"><span>所有方法</span><span class="tabEnd"> </span></span>
<span class="tableTab" id="t1"><span><a href="javascript:show(1);">静态方法</a></span><span class="tabEnd"> </span></span>
<span class="tableTab" id="t2"><span><a href="javascript:show(2);">接口方法</a></span><span class="tabEnd"> </span></span>
<span class="tableTab" id="t4"><span><a href="javascript:show(8);">具体的方法</a></span><span class="tabEnd"> </span></span>
</caption>
<tbody>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor" id="i0">
<td class="colFirst"><code>static <a href="../../../org/omg/CORBA/CompletionStatus.html" title="class in org.omg.CORBA">CompletionStatus</a></code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/CompletionStatus.html#from_int-int-">from_int</a></span>(int i)</code>
<div class="block">
从给定的
<code>int</code>创建一个
<code>CompletionStatus</code>对象。
</div> </td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/CORBA/CompletionStatus.html#value--">value</a></span>()</code>
<div class="block">
检索此
<code>CompletionStatus</code>对象的值。
</div> </td>
</tr>
</tbody>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.java.lang.Object">
<!-- --> </a> <h3>Methods inherited from class java.lang.<a href="../../../java/lang/Object.html" title="class in java.lang">Object</a></h3> <code><a href="../../../java/lang/Object.html#clone--">clone</a>, <a href="../../../java/lang/Object.html#equals-java.lang.Object-">equals</a>, <a href="../../../java/lang/Object.html#finalize--">finalize</a>, <a href="../../../java/lang/Object.html#getClass--">getClass</a>, <a href="../../../java/lang/Object.html#hashCode--">hashCode</a>, <a href="../../../java/lang/Object.html#notify--">notify</a>, <a href="../../../java/lang/Object.html#notifyAll--">notifyAll</a>, <a href="../../../java/lang/Object.html#toString--">toString</a>, <a href="../../../java/lang/Object.html#wait--">wait</a>, <a href="../../../java/lang/Object.html#wait-long-">wait</a>, <a href="../../../java/lang/Object.html#wait-long-int-">wait</a></code></li>
</ul> </li>
</ul> </li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ FIELD DETAIL =========== -->
<ul class="blockList">
<li class="blockList"><a name="field.detail">
<!-- --> </a> <h3>字段详细信息</h3> <a name="Z:Z_COMPLETED_YES">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>_COMPLETED_YES</h4> <pre>public static final int _COMPLETED_YES</pre>
<div class="block">
表示在SystemException之前完成运行的方法的
<code>SystemException</code>被抛出。
</div>
<dl>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<a href="../../../constant-values.html#org.omg.CORBA.CompletionStatus._COMPLETED_YES">Constant Field Values</a>
</dd>
</dl> </li>
</ul> <a name="Z:Z_COMPLETED_NO">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>_COMPLETED_NO</h4> <pre>public static final int _COMPLETED_NO</pre>
<div class="block">
表示在SystemException之前完成运行的方法的
<code>SystemException</code>被抛出。
</div>
<dl>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<a href="../../../constant-values.html#org.omg.CORBA.CompletionStatus._COMPLETED_NO">Constant Field Values</a>
</dd>
</dl> </li>
</ul> <a name="Z:Z_COMPLETED_MAYBE">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>_COMPLETED_MAYBE</h4> <pre>public static final int _COMPLETED_MAYBE</pre>
<div class="block">
指示在SystemException之前运行的方法被抛出的
<code>SystemException</code>
</div>
<dl>
<dt>
<span class="seeLabel">另请参见:</span>
</dt>
<dd>
<a href="../../../constant-values.html#org.omg.CORBA.CompletionStatus._COMPLETED_MAYBE">Constant Field Values</a>
</dd>
</dl> </li>
</ul> <a name="COMPLETED_YES">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>COMPLETED_YES</h4> <pre>public static final <a href="../../../org/omg/CORBA/CompletionStatus.html" title="class in org.omg.CORBA">CompletionStatus</a> COMPLETED_YES</pre>
<div class="block">
<code>CompletionStatus</code>一个实例用常量
<code>_COMPLETED_YES</code>
</div> </li>
</ul> <a name="COMPLETED_NO">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>COMPLETED_NO</h4> <pre>public static final <a href="../../../org/omg/CORBA/CompletionStatus.html" title="class in org.omg.CORBA">CompletionStatus</a> COMPLETED_NO</pre>
<div class="block">
<code>CompletionStatus</code>一个实例用常量
<code>_COMPLETED_NO</code>
</div> </li>
</ul> <a name="COMPLETED_MAYBE">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>COMPLETED_MAYBE</h4> <pre>public static final <a href="../../../org/omg/CORBA/CompletionStatus.html" title="class in org.omg.CORBA">CompletionStatus</a> COMPLETED_MAYBE</pre>
<div class="block">
<code>CompletionStatus</code>一个实例用常数
<code>_COMPLETED_MAYBE</code>
</div> </li>
</ul> </li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- --> </a> <h3>方法详细信息</h3> <a name="value--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>value</h4> <pre>public int value()</pre>
<div class="block">
检索此
<code>CompletionStatus</code>对象的值。
</div>
<dl>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
可能的一个
<code>CompletionStatus</code>值:
<code>_COMPLETED_YES</code>
<code>_COMPLETED_NO</code> ,或
<code>_COMPLETED_MAYBE</code>
</dd>
</dl> </li>
</ul> <a name="from_int-int-">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>from_int</h4> <pre>public static <a href="../../../org/omg/CORBA/CompletionStatus.html" title="class in org.omg.CORBA">CompletionStatus</a> from_int(int i)</pre>
<div class="block">
从给定的
<code>int</code>创建一个
<code>CompletionStatus</code>对象。
</div>
<dl>
<dt>
<span class="paramLabel">参数</span>
</dt>
<dd>
<code>i</code> -一个
<code>_COMPLETED_YES</code>
<code>_COMPLETED_NO</code> ,或
<code>_COMPLETED_MAYBE</code>
</dd>
<dt>
<span class="returnLabel">结果</span>
</dt>
<dd>
可能的一个
<code>CompletionStatus</code>对象与值:
<code>_COMPLETED_YES</code>
<code>_COMPLETED_NO</code> ,或
<code>_COMPLETED_MAYBE</code>
</dd>
<dt>
<span class="throwsLabel">异常</span>
</dt>
<dd>
<code><a href="../../../org/omg/CORBA/BAD_PARAM.html" title="class in org.omg.CORBA">BAD_PARAM</a></code> -如果给出的说法是不是一个
<code>int</code>中定义的常量
<code>CompletionStatus</code>
</dd>
</dl> </li>
</ul> </li>
</ul> </li>
</ul>
</div>
</div>