<! DOCTYPE HTML>
<!--  NewPage -->
<html lang="en">
<head>
<!--  Generated by javadoc -->
<title>RemoteRef (Java SE 12 &amp; JDK 12 )</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="keywords" content="java.rmi.server. RemoteRef interface">
<meta name="keywords" content="serialVersionUID">
<meta name="keywords" content="packagePrefix">
<meta name="keywords" content="invoke()">
<meta name="keywords" content="newCall()">
<meta name="keywords" content="done()">
<meta name="keywords" content="getRefClass()">
<meta name="keywords" content="remoteHashCode()">
<meta name="keywords" content="remoteEquals()">
<meta name="keywords" content="remoteToString()">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<link rel="stylesheet" type="text/css" href="../../../../jquery/jquery-ui.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip/dist/jszip.min.js"></script>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils.min.js"></script>
<! --[if IE]>
<script type="text/javascript" src="../../../../jquery/jszip-utils/dist/jszip-utils-ie.min.js"></script>
<![ endif]-->
<script type="text/javascript" src="../../../../jquery/jquery-3.3.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-migrate-3.0.1.js"></script>
<script type="text/javascript" src="../../../../jquery/jquery-ui.js"></script>
</head>
<body>
<script type="text/javascript"><!--
    try {
        if (location.href.indexOf('is-external=true') == -1) {
            parent.document.title="RemoteRef (Java SE 12 & JDK 12 )";
        }
    }
    catch(err) {
    }
//-->
var data = {"i0":38,"i1":6,"i2":6,"i3":38,"i4":38,"i5":6,"i6":6,"i7":6};
var tabs = {65535:["t0","All Methods"],2:["t2","Instance Methods"],4:["t3","Abstract Methods"],32:["t6","Deprecated Methods"]};
var altColor = "altColor";
var rowColor = "rowColor";
var tableTab = "tableTab";
var activeTableTab = "activeTableTab";
var pathtoroot = "../../../../";
var useModuleDirectories = true;
loadScripts(document, 'script');</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<header role="banner">
<nav role="navigation">
<div class="fixedNav">
<!--  ========= START OF TOP NAVBAR ======= -->
<div class="topNav"><a id="navbar.top">
<!--    -->
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.top.firstrow">
<!--    -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="../../../module-summary.html">Module</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/RemoteRef.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><div style="margin-top: 14px;"><strong>Java SE 12 &amp; JDK 12</strong> </div></div>
</div>
<div class="subNav">
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
<ul class="navListSearch">
<li><label for="search">SEARCH:</label>
<input type="text" id="search" value="search" disabled="disabled">
<input type="reset" id="reset" value="reset" disabled="disabled">
</li>
</ul>
</div>
<a id="skip.navbar.top">
<!--    -->
</a>
<!--  ========= END OF TOP NAVBAR ========= -->
</div>
<div class="navPadding">&nbsp;</div>
<script type="text/javascript"><!--
$('.navPadding').css('padding-top', $('.fixedNav').css("height"));
//-->
</script>
</nav>
</header>
<!--  ======== START OF CLASS DATA ======== -->
<main role="main">
<div class="header">
<div class="subTitle"><span class="moduleLabelInType">Module</span>&nbsp;<a href="../../../module-summary.html">java.rmi</a></div>
<div class="subTitle"><span class="packageLabelInType">Package</span>&nbsp;<a href="package-summary.html">java.rmi.server</a></div>
<h2 title="Interface RemoteRef" class="title">Interface RemoteRef</h2>
</div>
<div class="contentContainer">
<div class="description">
<ul class="blockList">
<li class="blockList">
<dl>
<dt>All Superinterfaces:</dt>
<dd><code><a href="../../../../java.base/java/io/Externalizable.html" title="interface in java.io">Externalizable</a></code>, <code><a href="../../../../java.base/java/io/Serializable.html" title="interface in java.io">Serializable</a></code></dd>
</dl>
<dl>
<dt>All Known Subinterfaces:</dt>
<dd><code><a href="ServerRef.html" title="interface in java.rmi.server">ServerRef</a></code></dd>
</dl>
<hr>
<pre>public interface <span class="typeNameLabel">RemoteRef</span>
extends <a href="../../../../java.base/java/io/Externalizable.html" title="interface in java.io">Externalizable</a></pre>
<div class="block"><code>RemoteRef</code> represents the handle for a remote object.  A
 <code>RemoteStub</code> uses a remote reference to carry out a
 remote method invocation to a remote object.</div>
<dl>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.1</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="RemoteStub.html" title="class in java.rmi.server"><code>RemoteStub</code></a></dd>
</dl>
</li>
</ul>
</div>
<div class="summary">
<ul class="blockList">
<li class="blockList">
<!--  =========== FIELD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.summary">
<!--    -->
</a>
<h3>Field Summary</h3>
<div class="memberSummary">
<table>
<caption><span>Fields</span><span class="tabEnd">&nbsp;</span></caption>
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Field</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><code>static <a href="../../../../java.base/java/lang/String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#packagePrefix">packagePrefix</a></span></code></th>
<td class="colLast">
<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>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#serialVersionUID">serialVersionUID</a></span></code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">A <code>serialVersionUID</code> field in an interface is
 ineffectual.</div>
</div>
</td>
</tr>
</tbody>
</table>
</div>
</li>
</ul>
</section>
<!--  ========== METHOD SUMMARY =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.summary">
<!--    -->
</a>
<h3>Method Summary</h3>
<div class="memberSummary">
<div role="tablist" aria-orientation="horizontal"><button role="tab" aria-selected="true" aria-controls="memberSummary_tabpanel" tabindex="0" onkeydown="switchTab(event)" id="t0" class="activeTableTab">All Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t2" class="tableTab" onclick="show(2);">Instance Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t3" class="tableTab" onclick="show(4);">Abstract Methods</button><button role="tab" aria-selected="false" aria-controls="memberSummary_tabpanel" tabindex="-1" onkeydown="switchTab(event)" id="t6" class="tableTab" onclick="show(32);">Deprecated Methods</button></div>
<div id="memberSummary_tabpanel" role="tabpanel">
<table aria-labelledby="t0">
<tr>
<th class="colFirst" scope="col">Modifier and Type</th>
<th class="colSecond" scope="col">Method</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor" id="i0">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#done(java.rmi.server. RemoteCall)">done</a></span>&#8203;(<a href="RemoteCall.html" title="interface in java.rmi.server">RemoteCall</a>&nbsp;call)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">1.2 style stubs no longer use this method.</div>
</div>
</td>
</tr>
<tr class="rowColor" id="i1">
<td class="colFirst"><code><a href="../../../../java.base/java/lang/String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#getRefClass(java.io. ObjectOutput)">getRefClass</a></span>&#8203;(<a href="../../../../java.base/java/io/ObjectOutput.html" title="interface in java.io">ObjectOutput</a>&nbsp;out)</code></th>
<td class="colLast">
<div class="block">Returns the class name of the ref type to be serialized onto
 the stream 'out'.</div>
</td>
</tr>
<tr class="altColor" id="i2">
<td class="colFirst"><code><a href="../../../../java.base/java/lang/Object.html" title="class in java.lang">Object</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#invoke(java.rmi. Remote,java.lang.reflect. Method,java.lang. Object%5B%5D,long)">invoke</a></span>&#8203;(<a href="../Remote.html" title="interface in java.rmi">Remote</a>&nbsp;obj,
      <a href="../../../../java.base/java/lang/reflect/Method.html" title="class in java.lang.reflect">Method</a>&nbsp;method,
      <a href="../../../../java.base/java/lang/Object.html" title="class in java.lang">Object</a>[]&nbsp;params,
      long&nbsp;opnum)</code></th>
<td class="colLast">
<div class="block">Invoke a method.</div>
</td>
</tr>
<tr class="rowColor" id="i3">
<td class="colFirst"><code>void</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#invoke(java.rmi.server. RemoteCall)">invoke</a></span>&#8203;(<a href="RemoteCall.html" title="interface in java.rmi.server">RemoteCall</a>&nbsp;call)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">1.2 style stubs no longer use this method.</div>
</div>
</td>
</tr>
<tr class="altColor" id="i4">
<td class="colFirst"><code><a href="RemoteCall.html" title="interface in java.rmi.server">RemoteCall</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#newCall(java.rmi.server. RemoteObject,java.rmi.server. Operation%5B%5D,int,long)">newCall</a></span>&#8203;(<a href="RemoteObject.html" title="class in java.rmi.server">RemoteObject</a>&nbsp;obj,
       <a href="Operation.html" title="class in java.rmi.server">Operation</a>[]&nbsp;op,
       int&nbsp;opnum,
       long&nbsp;hash)</code></th>
<td class="colLast">
<div class="block"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">1.2 style stubs no longer use this method.</div>
</div>
</td>
</tr>
<tr class="rowColor" id="i5">
<td class="colFirst"><code>boolean</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#remoteEquals(java.rmi.server. RemoteRef)">remoteEquals</a></span>&#8203;(<a href="RemoteRef.html" title="interface in java.rmi.server">RemoteRef</a>&nbsp;obj)</code></th>
<td class="colLast">
<div class="block">Compares two remote objects for equality.</div>
</td>
</tr>
<tr class="altColor" id="i6">
<td class="colFirst"><code>int</code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#remoteHashCode()">remoteHashCode</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a hashcode for a remote object.</div>
</td>
</tr>
<tr class="rowColor" id="i7">
<td class="colFirst"><code><a href="../../../../java.base/java/lang/String.html" title="class in java.lang">String</a></code></td>
<th class="colSecond" scope="row"><code><span class="memberNameLink"><a href="#remoteToString()">remoteToString</a></span>()</code></th>
<td class="colLast">
<div class="block">Returns a String that represents the reference of this remote
 object.</div>
</td>
</tr>
</tbody>
</table>
</div>
</div>
<ul class="blockList">
<li class="blockList"><a id="methods.inherited.from.class.java.io. Externalizable">
<!--    -->
</a>
<h3>Methods declared in interface&nbsp;java.io.<a href="../../../../java.base/java/io/Externalizable.html" title="interface in java.io">Externalizable</a></h3>
<code><a href="../../../../java.base/java/io/Externalizable.html#readExternal(java.io. ObjectInput)">readExternal</a>, <a href="../../../../java.base/java/io/Externalizable.html#writeExternal(java.io. ObjectOutput)">writeExternal</a></code></li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
<div class="details">
<ul class="blockList">
<li class="blockList">
<!--  ============ FIELD DETAIL =========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="field.detail">
<!--    -->
</a>
<h3>Field Detail</h3>
<a id="serialVersionUID">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>serialVersionUID</h4>
<pre><a href="../../../../java.base/java/lang/Deprecated.html" title="annotation in java.lang">@Deprecated</a>
static final&nbsp;long serialVersionUID</pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">A <code>serialVersionUID</code> field in an interface is
 ineffectual.  Do not use; no replacement.</div>
</div>
<div class="block">indicate compatibility with JDK 1.1.x version of class.</div>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#java.rmi.server. RemoteRef.serialVersionUID">Constant Field Values</a></dd>
</dl>
</li>
</ul>
<a id="packagePrefix">
<!--    -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>packagePrefix</h4>
<pre>static final&nbsp;<a href="../../../../java.base/java/lang/String.html" title="class in java.lang">String</a> packagePrefix</pre>
<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>
<dl>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../constant-values.html#java.rmi.server. RemoteRef.packagePrefix">Constant Field Values</a></dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
<!--  ============ METHOD DETAIL ========== -->
<section role="region">
<ul class="blockList">
<li class="blockList"><a id="method.detail">
<!--    -->
</a>
<h3>Method Detail</h3>
<a id="invoke(java.rmi. Remote,java.lang.reflect. Method,java.lang. Object[],long)">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>invoke</h4>
<pre class="methodSignature"><a href="../../../../java.base/java/lang/Object.html" title="class in java.lang">Object</a>&nbsp;invoke&#8203;(<a href="../Remote.html" title="interface in java.rmi">Remote</a>&nbsp;obj,
              <a href="../../../../java.base/java/lang/reflect/Method.html" title="class in java.lang.reflect">Method</a>&nbsp;method,
              <a href="../../../../java.base/java/lang/Object.html" title="class in java.lang">Object</a>[]&nbsp;params,
              long&nbsp;opnum)
       throws <a href="../../../../java.base/java/lang/Exception.html" title="class in java.lang">Exception</a></pre>
<div class="block">Invoke a method.  This form of delegating method invocation
 to the reference allows the reference to take care of
 setting up the connection to the remote host, marshaling
 some representation for the method and parameters, then
 communicating the method invocation to the remote host. 
 This method either returns the result of a method invocation
 on the remote object which resides on the remote host or
 throws a RemoteException if the call failed or an
 application-level exception if the remote invocation throws
 an exception.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>obj</code> - the object that contains the RemoteRef (e.g., the
            RemoteStub for the object.</dd>
<dd><code>method</code> - the method to be invoked</dd>
<dd><code>params</code> - the parameter list</dd>
<dd><code>opnum</code> - a hash that may be used to represent the method</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>result of remote method invocation</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../java.base/java/lang/Exception.html" title="class in java.lang">Exception</a></code> - if any exception occurs during remote method
 invocation</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.2</dd>
</dl>
</li>
</ul>
<a id="newCall(java.rmi.server. RemoteObject,java.rmi.server. Operation[],int,long)">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>newCall</h4>
<pre class="methodSignature"><a href="../../../../java.base/java/lang/Deprecated.html" title="annotation in java.lang">@Deprecated</a>
<a href="RemoteCall.html" title="interface in java.rmi.server">RemoteCall</a>&nbsp;newCall&#8203;(<a href="RemoteObject.html" title="class in java.rmi.server">RemoteObject</a>&nbsp;obj,
                   <a href="Operation.html" title="class in java.rmi.server">Operation</a>[]&nbsp;op,
                   int&nbsp;opnum,
                   long&nbsp;hash)
            throws <a href="../RemoteException.html" title="class in java.rmi">RemoteException</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">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.</div>
</div>
<div class="block">Creates an appropriate call object for a new remote method
 invocation on this object.   Passing operation array and index,
 allows the stubs generator to assign the operation indexes and
 interpret them.  The remote reference may need the operation to
 encode in the call.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>obj</code> - remote stub through which to make call</dd>
<dd><code>op</code> - array of stub operations</dd>
<dd><code>opnum</code> - operation number</dd>
<dd><code>hash</code> - stub/skeleton interface hash</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>call object representing remote call</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../RemoteException.html" title="class in java.rmi">RemoteException</a></code> - if failed to initiate new remote call</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.1</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="#invoke(java.rmi. Remote,java.lang.reflect. Method,java.lang. Object%5B%5D,long)"><code>invoke(Remote,java.lang.reflect. Method,Object[],long)</code></a></dd>
</dl>
</li>
</ul>
<a id="invoke(java.rmi.server. RemoteCall)">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>invoke</h4>
<pre class="methodSignature"><a href="../../../../java.base/java/lang/Deprecated.html" title="annotation in java.lang">@Deprecated</a>
void&nbsp;invoke&#8203;(<a href="RemoteCall.html" title="interface in java.rmi.server">RemoteCall</a>&nbsp;call)
     throws <a href="../../../../java.base/java/lang/Exception.html" title="class in java.lang">Exception</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">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.</div>
</div>
<div class="block">Executes the remote call. 

 Invoke will raise any "user" exceptions which
 should pass through and not be caught by the stub.   If any
 exception is raised during the remote invocation, invoke should
 take care of cleaning up the connection before raising the
 "user" or remote exception.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>call</code> - object representing remote call</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../../../../java.base/java/lang/Exception.html" title="class in java.lang">Exception</a></code> - if any exception occurs during remote method</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.1</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="#invoke(java.rmi. Remote,java.lang.reflect. Method,java.lang. Object%5B%5D,long)"><code>invoke(Remote,java.lang.reflect. Method,Object[],long)</code></a></dd>
</dl>
</li>
</ul>
<a id="done(java.rmi.server. RemoteCall)">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>done</h4>
<pre class="methodSignature"><a href="../../../../java.base/java/lang/Deprecated.html" title="annotation in java.lang">@Deprecated</a>
void&nbsp;done&#8203;(<a href="RemoteCall.html" title="interface in java.rmi.server">RemoteCall</a>&nbsp;call)
   throws <a href="../RemoteException.html" title="class in java.rmi">RemoteException</a></pre>
<div class="deprecationBlock"><span class="deprecatedLabel">Deprecated.</span>
<div class="deprecationComment">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.</div>
</div>
<div class="block">Allows the remote reference to clean up (or reuse) the connection. 
 Done should only be called if the invoke returns successfully
 (non-exceptionally) to the stub.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>call</code> - object representing remote call</dd>
<dt><span class="throwsLabel">Throws:</span></dt>
<dd><code><a href="../RemoteException.html" title="class in java.rmi">RemoteException</a></code> - if remote error occurs during call cleanup</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.1</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="#invoke(java.rmi. Remote,java.lang.reflect. Method,java.lang. Object%5B%5D,long)"><code>invoke(Remote,java.lang.reflect. Method,Object[],long)</code></a></dd>
</dl>
</li>
</ul>
<a id="getRefClass(java.io. ObjectOutput)">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getRefClass</h4>
<pre class="methodSignature"><a href="../../../../java.base/java/lang/String.html" title="class in java.lang">String</a>&nbsp;getRefClass&#8203;(<a href="../../../../java.base/java/io/ObjectOutput.html" title="interface in java.io">ObjectOutput</a>&nbsp;out)</pre>
<div class="block">Returns the class name of the ref type to be serialized onto
 the stream 'out'.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>out</code> - the output stream to which the reference will be serialized</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>the class name (without package qualification) of the reference
 type</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.1</dd>
</dl>
</li>
</ul>
<a id="remoteHashCode()">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remoteHashCode</h4>
<pre class="methodSignature">int&nbsp;remoteHashCode()</pre>
<div class="block">Returns a hashcode for a remote object.   Two remote object stubs
 that refer to the same remote object will have the same hash code
 (in order to support remote objects as keys in hash tables).</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>remote object hashcode</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.1</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../java.base/java/util/Hashtable.html" title="class in java.util"><code>Hashtable</code></a></dd>
</dl>
</li>
</ul>
<a id="remoteEquals(java.rmi.server. RemoteRef)">
<!--    -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>remoteEquals</h4>
<pre class="methodSignature">boolean&nbsp;remoteEquals&#8203;(<a href="RemoteRef.html" title="interface in java.rmi.server">RemoteRef</a>&nbsp;obj)</pre>
<div class="block">Compares two remote objects for equality. 
 Returns a boolean that indicates whether this remote object is
 equivalent to the specified Object.  This method is used when a
 remote object is stored in a hashtable.</div>
<dl>
<dt><span class="paramLabel">Parameters:</span></dt>
<dd><code>obj</code> - the Object to compare with</dd>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>true if these Objects are equal; false otherwise.</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.1</dd>
<dt><span class="seeLabel">See Also:</span></dt>
<dd><a href="../../../../java.base/java/util/Hashtable.html" title="class in java.util"><code>Hashtable</code></a></dd>
</dl>
</li>
</ul>
<a id="remoteToString()">
<!--    -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>remoteToString</h4>
<pre class="methodSignature"><a href="../../../../java.base/java/lang/String.html" title="class in java.lang">String</a>&nbsp;remoteToString()</pre>
<div class="block">Returns a String that represents the reference of this remote
 object.</div>
<dl>
<dt><span class="returnLabel">Returns:</span></dt>
<dd>string representing remote object reference</dd>
<dt><span class="simpleTagLabel">Since:</span></dt>
<dd>1.1</dd>
</dl>
</li>
</ul>
</li>
</ul>
</section>
</li>
</ul>
</div>
</div>
</main>
<!--  ========= END OF CLASS DATA ========= -->
<footer role="contentinfo">
<nav role="navigation">
<!--  ======= START OF BOTTOM NAVBAR ====== -->
<div class="bottomNav"><a id="navbar.bottom">
<!--    -->
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a id="navbar.bottom.firstrow">
<!--    -->
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../index.html">Overview</a></li>
<li><a href="../../../module-summary.html">Module</a></li>
<li><a href="package-summary.html">Package</a></li>
<li class="navBarCell1Rev">Class</li>
<li><a href="class-use/RemoteRef.html">Use</a></li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
<div class="aboutLanguage"><div style="margin-top: 14px;"><strong>Java SE 12 &amp; JDK 12</strong> </div></div>
</div>
<div class="subNav">
<div>
<ul class="subNavList">
<li>Summary:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field.summary">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field.detail">Field</a>&nbsp;|&nbsp;</li>
<li>Constr&nbsp;|&nbsp;</li>
<li><a href="#method.detail">Method</a></li>
</ul>
</div>
</div>
<a id="skip.navbar.bottom">
<!--    -->
</a>
<!--  ======== END OF BOTTOM NAVBAR ======= -->
</nav>
<p class="legalCopy"><small><a href="https://bugreport.java.com/bugreport/">Report a bug or suggest an enhancement</a><br> For further API reference and developer documentation see the <a href="https://docs.oracle.com/pls/topic/lookup?ctx=javase12.0.2&amp;id=homepage" target="_blank">Java SE Documentation</a>, which contains more detailed, developer-targeted descriptions with conceptual overviews, definitions of terms, workarounds, and working code examples.<br> Java is a trademark or registered trademark of Oracle and/or its affiliates in the US and other countries.<br> <a href="../../../../../legal/copyright.html">Copyright</a> &copy; 1993, 2019, Oracle and/or its affiliates, 500 Oracle Parkway, Redwood Shores, CA 94065 USA.<br>All rights reserved.  Use is subject to <a href="https://www.oracle.com/technetwork/java/javase/terms/license/java12.0.2speclicense.html">license terms</a> and the <a href="https://www.oracle.com/technetwork/java/redist-137594.html">documentation redistribution policy</a>.  <!--  Version 12.0.2+10 --></small></p>
</footer>
</body>
</html>
