uTools-Manuals/docs/java/javax/rmi/CORBA/ValueHandlerMultiFormat.html

103 lines
6.0 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">
javax.rmi.CORBA
</div>
<h2 class="title" title="Interface ValueHandlerMultiFormat">Interface ValueHandlerMultiFormat</h2>
</div><div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>
All Superinterfaces:
</dt>
<dd>
<span><a href="../../../javax/rmi/CORBA/ValueHandler.html" title="javax.rmi.CORBA中的接口">ValueHandler</a></span>
</dd>
</dl>
<hr/> <br/> <pre>public interface <span class="typeNameLabel">ValueHandlerMultiFormat</span>
extends <a href="../../../javax/rmi/CORBA/ValueHandler.html" title="interface in javax.rmi.CORBA">ValueHandler</a></pre>
<div class="block">
Java to IDL ptc 02-01-12 1.5.1.5
</div>
<dl>
<dt>
<span class="simpleTagLabel">从以下版本开始:</span>
</dt>
<dd>
1.5
</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>
<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="t2"><span><a href="javascript:show(2);">接口方法</a></span><span class="tabEnd"> </span></span>
<span class="tableTab" id="t3"><span><a href="javascript:show(4);">抽象方法</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>byte</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/rmi/CORBA/ValueHandlerMultiFormat.html#getMaximumStreamFormatVersion--">getMaximumStreamFormatVersion</a></span>()</code>
<div class="block">
返回此ValueHandler对象支持的RMI / IDL自定义值类型的最大流格式版本。
</div> </td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><span class="memberNameLink"><a href="../../../javax/rmi/CORBA/ValueHandlerMultiFormat.html#writeValue-org.omg.CORBA.portable.OutputStream-java.io.Serializable-byte-">writeValue</a></span>(<a href="../../../org/omg/CORBA/portable/OutputStream.html" title="class in org.omg.CORBA.portable">OutputStream</a> out, <a href="../../../java/io/Serializable.html" title="interface in java.io">Serializable</a> value, byte streamFormatVersion)</code>
<div class="block">
允许ORB传递RMI / IDL自定义值类型的流格式版本。
</div> </td>
</tr>
</tbody>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods.inherited.from.class.javax.rmi.CORBA.ValueHandler">
<!-- --> </a> <h3>Methods inherited from interface javax.rmi.CORBA.<a href="../../../javax/rmi/CORBA/ValueHandler.html" title="interface in javax.rmi.CORBA">ValueHandler</a></h3> <code><a href="../../../javax/rmi/CORBA/ValueHandler.html#getRMIRepositoryID-java.lang.Class-">getRMIRepositoryID</a>, <a href="../../../javax/rmi/CORBA/ValueHandler.html#getRunTimeCodeBase--">getRunTimeCodeBase</a>, <a href="../../../javax/rmi/CORBA/ValueHandler.html#isCustomMarshaled-java.lang.Class-">isCustomMarshaled</a>, <a href="../../../javax/rmi/CORBA/ValueHandler.html#readValue-org.omg.CORBA.portable.InputStream-int-java.lang.Class-java.lang.String-org.omg.SendingContext.RunTime-">readValue</a>, <a href="../../../javax/rmi/CORBA/ValueHandler.html#writeReplace-java.io.Serializable-">writeReplace</a>, <a href="../../../javax/rmi/CORBA/ValueHandler.html#writeValue-org.omg.CORBA.portable.OutputStream-java.io.Serializable-">writeValue</a></code></li>
</ul> </li>
</ul> </li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method.detail">
<!-- --> </a> <h3>方法详细信息</h3> <a name="getMaximumStreamFormatVersion--">
<!-- --> </a>
<ul class="blockList">
<li class="blockList"> <h4>getMaximumStreamFormatVersion</h4> <pre>byte getMaximumStreamFormatVersion()</pre>
<div class="block">
<span>返回此ValueHandler对象支持的RMI / IDL自定义值类型的最大流格式版本。</span>
<span>ValueHandler对象必须支持返回的流格式版本和所有较低版本。</span>
<span>ORB可以使用此值将其包含在标准IOR标签组件或服务上下文中以向其他ORB指示其支持的最大RMI-IIOP流格式。</span>
<span>如果不包括GIOP 1.2的默认值为流格式版本1GIOP 1.3及更高版本的流格式版本2。</span>
</div> </li>
</ul> <a name="writeValue-org.omg.CORBA.portable.OutputStream-java.io.Serializable-byte-">
<!-- --> </a>
<ul class="blockListLast">
<li class="blockList"> <h4>writeValue</h4> <pre>void writeValue(<a href="../../../org/omg/CORBA/portable/OutputStream.html" title="class in org.omg.CORBA.portable">OutputStream</a> out,
<a href="../../../java/io/Serializable.html" title="interface in java.io">Serializable</a> value,
byte streamFormatVersion)</pre>
<div class="block">
Allows the ORB to pass the stream format version for RMI/IDL custom value types. If the ORB calls this method, it must pass a stream format version between 1 and the value returned by the getMaximumStreamFormatVersion method inclusive, or else a BAD_PARAM exception with standard minor code will be thrown. If the ORB calls the older ValueHandler.writeValue(OutputStream, Serializable) method, stream format version 1 is implied. The ORB output stream passed to the ValueHandlerMultiFormat.writeValue method must implement the ValueOutputStream interface, and the ORB input stream passed to the ValueHandler.readValue method must implement the ValueInputStream interface.
</div> </li>
</ul> </li>
</ul> </li>
</ul>
</div>
</div>