code>static <a href="../../../java/lang/String.html" title="class in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../java/rmi/server/RemoteRef.html#packagePrefix">packagePrefix</a></strong></code>
<div class="block">Initialize the server package prefix: assumes that the
 implementation of server ref classes (e.g., UnicastRef,
 UnicastServerRef) are located in the package defined by the
 prefix.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>static long</code></td>
<td class="colLast"><code><strong><a href="../../../java/rmi/server/RemoteRef.html#serialVersionUID">serialVersionUID</a></strong></code>
<div class="block">indicate compatibility with JDK 1.1.x version of class.</div>
</td>
</tr>
</table>
</li>
</ul>
<!-- ========== METHOD SUMMARY =========== -->
<ul class="blockList">
<li class="blockList"><a name="method_summary">
<!--   -->
</a>
<h3>Method Summary</h3>
<table class="overviewSummary" border="0" cellpadding="3" cellspacing="0" summary="Method Summary table, listing methods, and an explanation">
<caption><span>Methods</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colLast" scope="col">Method and Description</th>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../java/rmi/server/RemoteRef.html#done(java.rmi.server.RemoteCall)">done</a></strong>(<a href="../../../java/rmi/server/RemoteCall.html" title="interface in java.rmi.server">RemoteCall</a>&nbsp;call)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>1.2 style stubs no longer use this method. Instead of
 using a sequence of method calls to the remote reference
 (<code>newCall</code>, <code>invoke</code>, and <code>done</code>), a
 stub uses a single method, <code>invoke(Remote, Method, Object[],
 int)</code>, on the remote reference to carry out parameter
 marshalling, remote method executing and unmarshalling of the return
 value.</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../java/lang/String.html" title="class in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../java/rmi/server/RemoteRef.html#getRefClass(java.io.ObjectOutput)">getRefClass</a></strong>(<a href="../../../java/io/ObjectOutput.html" title="interface in java.io">ObjectOutput</a>&nbsp;out)</code>
<div class="block">Returns the class name of the ref type to be serialized onto
 the stream 'out'.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../java/rmi/server/RemoteRef.html#invoke(java.rmi.server.RemoteCall)">invoke</a></strong>(<a href="../../../java/rmi/server/RemoteCall.html" title="interface in java.rmi.server">RemoteCall</a>&nbsp;call)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>1.2 style stubs no longer use this method. Instead of
 using a sequence of method calls to the remote reference
 (<code>newCall</code>, <code>invoke</code>, and <code>done</code>), a
 stub uses a single method, <code>invoke(Remote, Method, Object[],
 int)</code>, on the remote reference to carry out parameter
 marshalling, remote method executing and unmarshalling of the return
 value.</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../java/lang/Object.html" title="class in java.lang">Object</a></code></td>
<td class="colLast"><code><strong><a href="../../../java/rmi/server/RemoteRef.html#invoke(java.rmi.Remote,%20java.lang.reflect.Method,%20java.lang.Object[],%20long)">invoke</a></strong>(<a href="../../../java/rmi/Remote.html" title="interface in java.rmi">Remote</a>&nbsp;obj,
      <a href="../../../java/lang/reflect/Method.html" title="class in java.lang.reflect">Method</a>&nbsp;method,
      <a href="../../../java/lang/Object.html" title="class in java.lang">Object</a>[]&nbsp;params,
      long&nbsp;opnum)</code>
<div class="block">Invoke a method.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code><a href="../../../java/rmi/server/RemoteCall.html" title="interface in java.rmi.server">RemoteCall</a></code></td>
<td class="colLast"><code><strong><a href="../../../java/rmi/server/RemoteRef.html#newCall(java.rmi.server.RemoteObject,%20java.rmi.server.Operation[],%20int,%20long)">newCall</a></strong>(<a href="../../../java/rmi/server/RemoteObject.html" title="class in java.rmi.server">RemoteObject</a>&nbsp;obj,
       <a href="../../../java/rmi/server/Operation.html" title="class in java.rmi.server">Operation</a>[]&nbsp;op,
       int&nbsp;opnum,
       long&nbsp;hash)</code>
<div class="block"><strong>Deprecated.</strong>&nbsp;
<div class="block"><i>1.2 style stubs no longer use this method. Instead of
 using a sequence of method calls on the stub's the remote reference
 (<code>newCall</code>, <code>invoke</code>, and <code>done</code>), a
 stub uses a single method, <code>invoke(Remote, Method, Object[],
 int)</code>, on the remote reference to carry out parameter
 marshalling, remote method executing and unmarshalling of the return
 value.</i></div>
</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>boolean</code></td>
<td class="colLast"><code><strong><a href="../../../java/rmi/server/RemoteRef.html#remoteEquals(java.rmi.server.RemoteRef)">remoteEquals</a></strong>(<a href="../../../java/rmi/server/RemoteRef.html" title="interface in java.rmi.server">RemoteRef</a>&nbsp;obj)</code>
<div class="block">Compares two remote objects for equality.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../java/rmi/server/RemoteRef.html#remoteHashCode()">remoteHashCode</a></strong>()</code>
<div class="block">Returns a hashcode for a remote object.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code><a href="../../../java/lang/String.html" title="class in java.lang">String</a></code></td>
<td class="colLast"><code><strong><a href="../../../java/rmi/server/RemoteRef.html#remoteToString()">remoteToString</a></strong>()</code>
<div class="block">Returns a String that represents the reference of this remote
 object.</div>
</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.io.Externalizable">
<!--   -->
</a>
<h3>Methods inherited from interface&nbsp;java.io.<a href="../../../java/io/Externalizable.html"