<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<!--NewPage-->
<html>
<head>
<!-- Generated by javadoc on Wed Jul 28 01:21:15 GMT 1999 -->
<title>
  Interface java.rmi.server.RemoteCall
</title>
</head>
<body>
<a name="_top_"></a>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.rmi.server.html">This Package</a>  <a href="java.rmi.server.RMIFailureHandler.html#_top_">Previous</a>  <a href="java.rmi.server.RemoteRef.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
<hr>
<h1>
  Interface java.rmi.server.RemoteCall
</h1>
<dl>
  <dt> public interface <b>RemoteCall</b>
</dl>
RemoteCall is an abstraction used solely by the implementation
 (stubs and skeletons of remote objects) to carry out a call to a
 remote object.
<p>
<hr>
<a name="index"></a>
<h2>
  <img src="images/method-index.gif" width=207 height=38 alt="Method Index">
</h2>
<dl>
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#done()"><b>done</b></a>()
  <dd>  Allow cleanup after the remote call has completed.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#executeCall()"><b>executeCall</b></a>()
  <dd>  Do whatever it takes to execute the call.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getInputStream()"><b>getInputStream</b></a>()
  <dd>  Get the InputStream that the stub/skeleton should get
 results/arguments from.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getOutputStream()"><b>getOutputStream</b></a>()
  <dd>  Return the output stream the stub/skeleton should put arguments/results
 into.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#getResultStream(boolean)"><b>getResultStream</b></a>(boolean)
  <dd>  Returns an output stream (may put out header information
 relating to the success of the call).
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#releaseInputStream()"><b>releaseInputStream</b></a>()
  <dd>  Release the input stream.
  <dt> <img src="images/red-ball-small.gif" width=6 height=6 alt=" o ">
	<a href="#releaseOutputStream()"><b>releaseOutputStream</b></a>()
  <dd>  Release the output stream; in some transports this would release
 the stream.
</dl>
<a name="methods"></a>
<h2>
  <img src="images/methods.gif" width=151 height=38 alt="Methods">
</h2>
<a name="getOutputStream()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getOutputStream"><b>getOutputStream</b></a>
<pre>
 public abstract <a href="java.io.ObjectOutput.html#_top_">ObjectOutput</a> getOutputStream() throws <a href="java.io.IOException.html#_top_">IOException</a>
</pre>
<dl>
  <dd> Return the output stream the stub/skeleton should put arguments/results
 into.
<p>
  <dd><dl>
    <dt> <b>Throws:</b> <a href="java.io.IOException.html#_top_">IOException</a>
    <dd> if an I/O error occurs.
  </dl></dd>
</dl>
<a name="releaseOutputStream()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="releaseOutputStream"><b>releaseOutputStream</b></a>
<pre>
 public abstract void releaseOutputStream() throws <a href="java.io.IOException.html#_top_">IOException</a>
</pre>
<dl>
  <dd> Release the output stream; in some transports this would release
 the stream.
<p>
  <dd><dl>
    <dt> <b>Throws:</b> <a href="java.io.IOException.html#_top_">IOException</a>
    <dd> if an I/O error occurs.
  </dl></dd>
</dl>
<a name="getInputStream()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getInputStream"><b>getInputStream</b></a>
<pre>
 public abstract <a href="java.io.ObjectInput.html#_top_">ObjectInput</a> getInputStream() throws <a href="java.io.IOException.html#_top_">IOException</a>
</pre>
<dl>
  <dd> Get the InputStream that the stub/skeleton should get
 results/arguments from.
<p>
  <dd><dl>
    <dt> <b>Throws:</b> <a href="java.io.IOException.html#_top_">IOException</a>
    <dd> if an I/O error occurs.
  </dl></dd>
</dl>
<a name="releaseInputStream()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="releaseInputStream"><b>releaseInputStream</b></a>
<pre>
 public abstract void releaseInputStream() throws <a href="java.io.IOException.html#_top_">IOException</a>
</pre>
<dl>
  <dd> Release the input stream. This would allow some transports to release
 the channel early.
<p>
  <dd><dl>
    <dt> <b>Throws:</b> <a href="java.io.IOException.html#_top_">IOException</a>
    <dd> if an I/O error occurs.
  </dl></dd>
</dl>
<a name="getResultStream(boolean)"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="getResultStream"><b>getResultStream</b></a>
<pre>
 public abstract <a href="java.io.ObjectOutput.html#_top_">ObjectOutput</a> getResultStream(boolean success) throws <a href="java.io.IOException.html#_top_">IOException</a>, <a href="java.io.StreamCorruptedException.html#_top_">StreamCorruptedException</a>
</pre>
<dl>
  <dd> Returns an output stream (may put out header information
 relating to the success of the call). Should only succeed
 once per remote call.
<p>
  <dd><dl>
    <dt> <b>Parameters:</b>
    <dd> success - If true, indicates normal return, else indicates
 exceptional return.
    <dt> <b>Throws:</b> <a href="java.io.IOException.html#_top_">IOException</a>
    <dd> if an I/O error occurs.
    <dt> <b>Throws:</b> <a href="java.io.StreamCorruptedException.html#_top_">StreamCorruptedException</a>
    <dd> If already been called.
  </dl></dd>
</dl>
<a name="executeCall()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="executeCall"><b>executeCall</b></a>
<pre>
 public abstract void executeCall() throws <a href="java.lang.Exception.html#_top_">Exception</a>
</pre>
<dl>
  <dd> Do whatever it takes to execute the call.
<p>
  <dd><dl>
    <dt> <b>Throws:</b> <a href="java.lang.Exception.html#_top_">Exception</a>
    <dd> if a general exception occurs.
  </dl></dd>
</dl>
<a name="done()"><img src="images/red-ball.gif" width=12 height=12 alt=" o "></a>
<a name="done"><b>done</b></a>
<pre>
 public abstract void done() throws <a href="java.io.IOException.html#_top_">IOException</a>
</pre>
<dl>
  <dd> Allow cleanup after the remote call has completed.
<p>
  <dd><dl>
    <dt> <b>Throws:</b> <a href="java.io.IOException.html#_top_">IOException</a>
    <dd> if an I/O error occurs.
  </dl></dd>
</dl>
<hr>
<pre>
<a href="packages.html">All Packages</a>  <a href="tree.html">Class Hierarchy</a>  <a href="Package-java.rmi.server.html">This Package</a>  <a href="java.rmi.server.RMIFailureHandler.html#_top_">Previous</a>  <a href="java.rmi.server.RemoteRef.html#_top_">Next</a>  <a href="AllNames.html">Index</a></pre>
</body>
</html>
