Deprecated.
no replacement.
@Deprecated public interface RemoteCall
RemoteCall
is an abstraction used solely by the RMI runtime (in conjunction with stubs and skeletons of remote objects) to carry out a call to a remote object. The RemoteCall
interface is deprecated because it is only used by deprecated methods of java.rmi.server.RemoteRef
.
RemoteRef
@Deprecated ObjectOutput getOutputStream() throws IOException
Deprecated. no replacement
Return the output stream the stub/skeleton should put arguments/results into.
IOException
- if an I/O error occurs.@Deprecated void releaseOutputStream() throws IOException
Deprecated. no replacement
Release the output stream; in some transports this would release the stream.
IOException
- if an I/O error occurs.@Deprecated ObjectInput getInputStream() throws IOException
Deprecated. no replacement
Get the InputStream that the stub/skeleton should get results/arguments from.
IOException
- if an I/O error occurs.@Deprecated void releaseInputStream() throws IOException
Deprecated. no replacement
Release the input stream. This would allow some transports to release the channel early.
IOException
- if an I/O error occurs.@Deprecated ObjectOutput getResultStream(boolean success) throws IOException, StreamCorruptedException
Deprecated. no replacement
Returns an output stream (may put out header information relating to the success of the call). Should only succeed once per remote call.
success
- If true, indicates normal return, else indicates exceptional return.IOException
- if an I/O error occurs.StreamCorruptedException
- If already been called.@Deprecated void executeCall() throws Exception
Deprecated. no replacement
Do whatever it takes to execute the call.
Exception
- if a general exception occurs.@Deprecated void done() throws IOException
Deprecated. no replacement
Allow cleanup after the remote call has completed.
IOException
- if an I/O error occurs.
© 1993–2017, Oracle and/or its affiliates. All rights reserved.
Documentation extracted from Debian's OpenJDK Development Kit package.
Licensed under the GNU General Public License, version 2, with the Classpath Exception.
Various third party code in OpenJDK is licensed under different licenses (see Debian package).
Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.