-
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. TheRemoteCall
interface is deprecated because it is only used by deprecated methods ofjava.rmi.server.RemoteRef
.- Since:
- JDK1.1
- See Also:
RemoteRef
-
-
Method Summary
Methods Modifier and Type Method and Description void
done()
Deprecated.no replacementvoid
executeCall()
Deprecated.no replacementObjectInput
getInputStream()
Deprecated.no replacementObjectOutput
getOutputStream()
Deprecated.no replacementObjectOutput
getResultStream(boolean success)
Deprecated.no replacementvoid
releaseInputStream()
Deprecated.no replacementvoid
releaseOutputStream()
Deprecated.no replacement
-
-
-
Method Detail
-
getOutputStream
@Deprecated ObjectOutput getOutputStream() throws IOException
Deprecated. no replacementReturn the output stream the stub/skeleton should put arguments/results into.- Returns:
- output stream for arguments/results
- Throws:
IOException
- if an I/O error occurs.- Since:
- JDK1.1
-
releaseOutputStream
@Deprecated void releaseOutputStream() throws IOException
Deprecated. no replacementRelease the output stream; in some transports this would release the stream.- Throws:
IOException
- if an I/O error occurs.- Since:
- JDK1.1
-
getInputStream
@Deprecated ObjectInput getInputStream() throws IOException
Deprecated. no replacementGet the InputStream that the stub/skeleton should get results/arguments from.- Returns:
- input stream for reading arguments/results
- Throws:
IOException
- if an I/O error occurs.- Since:
- JDK1.1
-
releaseInputStream
@Deprecated void releaseInputStream() throws IOException
Deprecated. no replacementRelease the input stream. This would allow some transports to release the channel early.- Throws:
IOException
- if an I/O error occurs.- Since:
- JDK1.1
-
getResultStream
@Deprecated ObjectOutput getResultStream(boolean success) throws IOException, StreamCorruptedException
Deprecated. no replacementReturns an output stream (may put out header information relating to the success of the call). Should only succeed once per remote call.- Parameters:
success
- If true, indicates normal return, else indicates exceptional return.- Returns:
- output stream for writing call result
- Throws:
IOException
- if an I/O error occurs.StreamCorruptedException
- If already been called.- Since:
- JDK1.1
-
executeCall
@Deprecated void executeCall() throws Exception
Deprecated. no replacementDo whatever it takes to execute the call.- Throws:
Exception
- if a general exception occurs.- Since:
- JDK1.1
-
done
@Deprecated void done() throws IOException
Deprecated. no replacementAllow cleanup after the remote call has completed.- Throws:
IOException
- if an I/O error occurs.- Since:
- JDK1.1
-
-
Document created the 11/06/2005, last modified the 04/03/2020
Source of the printed document:https://www.gaudry.be/en/java-api-rf-java/rmi/server/remotecall.html
The infobrol is a personal site whose content is my sole responsibility. The text is available under CreativeCommons license (BY-NC-SA). More info on the terms of use and the author.
References
These references and links indicate documents consulted during the writing of this page, or which may provide additional information, but the authors of these sources can not be held responsible for the content of this page.
The author This site is solely responsible for the way in which the various concepts, and the freedoms that are taken with the reference works, are presented here. Remember that you must cross multiple source information to reduce the risk of errors.