mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-07-08 10:46:28 +08:00
147 lines
10 KiB
HTML
147 lines
10 KiB
HTML
<div class="header">
|
||
<div class="subTitle">
|
||
org.omg.PortableServer
|
||
</div>
|
||
<h2 class="title" title="Class CurrentHelper">Class CurrentHelper</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.PortableServer.CurrentHelper</li>
|
||
</ul> </li>
|
||
</ul>
|
||
<div class="description">
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<hr/> <br/> <pre>public abstract class <span class="typeNameLabel">CurrentHelper</span>
|
||
extends <a href="../../../java/lang/Object.html" title="class in java.lang">Object</a></pre>
|
||
<div class="block">
|
||
The PortableServer::Current interface, derived from CORBA::Current, provides method implementations with access to the identity of the object on which the method was invoked. The Current interface is provided to support servants that implement multiple objects, but can be used within the context of POA-dispatched method invocations on any servant. To provide location transparency, ORBs are required to support use of Current in the context of both locally and remotely invoked operations. An instance of Current can be obtained by the application by issuing the CORBA::ORB::resolve_initial_references("POACurrent") operation. Thereafter, it can be used within the context of a method dispatched by the POA to obtain the POA and ObjectId that identify the object on which that operation was invoked.
|
||
</div> </li>
|
||
</ul>
|
||
</div>
|
||
<div class="summary">
|
||
<ul class="blockList">
|
||
<li class="blockList">
|
||
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
|
||
<ul class="blockList">
|
||
<li class="blockList"><a name="constructor.summary">
|
||
<!-- --> </a> <h3>构造方法摘要</h3>
|
||
<table border="0" cellpadding="3" cellspacing="0" class="memberSummary" summary="Constructor Summary table, listing constructors, and an explanation">
|
||
<caption>
|
||
<span>构造方法</span>
|
||
<span class="tabEnd"> </span>
|
||
</caption>
|
||
<tbody>
|
||
<tr>
|
||
<th class="colOne" scope="col">Constructor and Description</th>
|
||
</tr>
|
||
<tr class="altColor">
|
||
<td class="colOne"><code><span class="memberNameLink"><a href="../../../org/omg/PortableServer/CurrentHelper.html#CurrentHelper--">CurrentHelper</a></span>()</code> </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="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/PortableServer/Current.html" title="interface in org.omg.PortableServer">Current</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/PortableServer/CurrentHelper.html#extract-org.omg.CORBA.Any-">extract</a></span>(<a href="../../../org/omg/CORBA/Any.html" title="class in org.omg.CORBA">Any</a> a)</code> </td>
|
||
</tr>
|
||
<tr class="rowColor" id="i1">
|
||
<td class="colFirst"><code>static <a href="../../../java/lang/String.html" title="class in java.lang">String</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/PortableServer/CurrentHelper.html#id--">id</a></span>()</code> </td>
|
||
</tr>
|
||
<tr class="altColor" id="i2">
|
||
<td class="colFirst"><code>static void</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/PortableServer/CurrentHelper.html#insert-org.omg.CORBA.Any-org.omg.PortableServer.Current-">insert</a></span>(<a href="../../../org/omg/CORBA/Any.html" title="class in org.omg.CORBA">Any</a> a, <a href="../../../org/omg/PortableServer/Current.html" title="interface in org.omg.PortableServer">Current</a> that)</code> </td>
|
||
</tr>
|
||
<tr class="rowColor" id="i3">
|
||
<td class="colFirst"><code>static <a href="../../../org/omg/PortableServer/Current.html" title="interface in org.omg.PortableServer">Current</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/PortableServer/CurrentHelper.html#narrow-org.omg.CORBA.Object-">narrow</a></span>(<a href="../../../org/omg/CORBA/Object.html" title="interface in org.omg.CORBA">Object</a> obj)</code> </td>
|
||
</tr>
|
||
<tr class="altColor" id="i4">
|
||
<td class="colFirst"><code>static <a href="../../../org/omg/PortableServer/Current.html" title="interface in org.omg.PortableServer">Current</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/PortableServer/CurrentHelper.html#read-org.omg.CORBA.portable.InputStream-">read</a></span>(<a href="../../../org/omg/CORBA/portable/InputStream.html" title="class in org.omg.CORBA.portable">InputStream</a> istream)</code> </td>
|
||
</tr>
|
||
<tr class="rowColor" id="i5">
|
||
<td class="colFirst"><code>static <a href="../../../org/omg/CORBA/TypeCode.html" title="class in org.omg.CORBA">TypeCode</a></code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/PortableServer/CurrentHelper.html#type--">type</a></span>()</code> </td>
|
||
</tr>
|
||
<tr class="altColor" id="i6">
|
||
<td class="colFirst"><code>static void</code></td>
|
||
<td class="colLast"><code><span class="memberNameLink"><a href="../../../org/omg/PortableServer/CurrentHelper.html#write-org.omg.CORBA.portable.OutputStream-org.omg.PortableServer.Current-">write</a></span>(<a href="../../../org/omg/CORBA/portable/OutputStream.html" title="class in org.omg.CORBA.portable">OutputStream</a> ostream, <a href="../../../org/omg/PortableServer/Current.html" title="interface in org.omg.PortableServer">Current</a> value)</code> </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">
|
||
<!-- ========= CONSTRUCTOR DETAIL ======== -->
|
||
<ul class="blockList">
|
||
<li class="blockList"><a name="constructor.detail">
|
||
<!-- --> </a> <h3>构造方法详细信息</h3> <a name="CurrentHelper--">
|
||
<!-- --> </a>
|
||
<ul class="blockListLast">
|
||
<li class="blockList"> <h4>CurrentHelper</h4> <pre>public CurrentHelper()</pre> </li>
|
||
</ul> </li>
|
||
</ul>
|
||
<!-- ============ METHOD DETAIL ========== -->
|
||
<ul class="blockList">
|
||
<li class="blockList"><a name="method.detail">
|
||
<!-- --> </a> <h3>方法详细信息</h3> <a name="insert-org.omg.CORBA.Any-org.omg.PortableServer.Current-">
|
||
<!-- --> </a>
|
||
<ul class="blockList">
|
||
<li class="blockList"> <h4>insert</h4> <pre>public static void insert(<a href="../../../org/omg/CORBA/Any.html" title="class in org.omg.CORBA">Any</a> a,
|
||
<a href="../../../org/omg/PortableServer/Current.html" title="interface in org.omg.PortableServer">Current</a> that)</pre> </li>
|
||
</ul> <a name="extract-org.omg.CORBA.Any-">
|
||
<!-- --> </a>
|
||
<ul class="blockList">
|
||
<li class="blockList"> <h4>extract</h4> <pre>public static <a href="../../../org/omg/PortableServer/Current.html" title="interface in org.omg.PortableServer">Current</a> extract(<a href="../../../org/omg/CORBA/Any.html" title="class in org.omg.CORBA">Any</a> a)</pre> </li>
|
||
</ul> <a name="type--">
|
||
<!-- --> </a>
|
||
<ul class="blockList">
|
||
<li class="blockList"> <h4>type</h4> <pre>public static <a href="../../../org/omg/CORBA/TypeCode.html" title="class in org.omg.CORBA">TypeCode</a> type()</pre> </li>
|
||
</ul> <a name="id--">
|
||
<!-- --> </a>
|
||
<ul class="blockList">
|
||
<li class="blockList"> <h4>id</h4> <pre>public static <a href="../../../java/lang/String.html" title="class in java.lang">String</a> id()</pre> </li>
|
||
</ul> <a name="read-org.omg.CORBA.portable.InputStream-">
|
||
<!-- --> </a>
|
||
<ul class="blockList">
|
||
<li class="blockList"> <h4>read</h4> <pre>public static <a href="../../../org/omg/PortableServer/Current.html" title="interface in org.omg.PortableServer">Current</a> read(<a href="../../../org/omg/CORBA/portable/InputStream.html" title="class in org.omg.CORBA.portable">InputStream</a> istream)</pre> </li>
|
||
</ul> <a name="write-org.omg.CORBA.portable.OutputStream-org.omg.PortableServer.Current-">
|
||
<!-- --> </a>
|
||
<ul class="blockList">
|
||
<li class="blockList"> <h4>write</h4> <pre>public static void write(<a href="../../../org/omg/CORBA/portable/OutputStream.html" title="class in org.omg.CORBA.portable">OutputStream</a> ostream,
|
||
<a href="../../../org/omg/PortableServer/Current.html" title="interface in org.omg.PortableServer">Current</a> value)</pre> </li>
|
||
</ul> <a name="narrow-org.omg.CORBA.Object-">
|
||
<!-- --> </a>
|
||
<ul class="blockListLast">
|
||
<li class="blockList"> <h4>narrow</h4> <pre>public static <a href="../../../org/omg/PortableServer/Current.html" title="interface in org.omg.PortableServer">Current</a> narrow(<a href="../../../org/omg/CORBA/Object.html" title="interface in org.omg.CORBA">Object</a> obj)</pre> </li>
|
||
</ul> </li>
|
||
</ul> </li>
|
||
</ul>
|
||
</div>
|
||
</div> |