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.
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.
Get the InputStream that the stub/skeleton should get
results/arguments from.
Get the InputStream that the stub/skeleton should get results/arguments from.
Returns:
input stream for reading arguments/results
Throws: - java.io.IOException - if an I/O error occurs.
Since:
JDK1.1
Return the output stream the stub/skeleton should put arguments/results
into.
Return the output stream the stub/skeleton should put arguments/results into.
Returns:
output stream for arguments/results
Throws: - java.io.IOException - if an I/O error occurs.
Since:
JDK1.1
Returns an output stream (may put out header information
relating to the success of the call).
Returns an output stream (may put out header information relating to the success of the call). Should only succeed once per remote call.
Returns:
output stream for writing call result
Parameters: - success - If true, indicates normal return, else indicates
exceptional return.
Throws: - java.io.IOException - if an I/O error occurs.
- java.io.StreamCorruptedException - If already been called.
Since:
JDK1.1
Release the input stream. This would allow some transports to release the channel early.
Throws: - java.io.IOException - if an I/O error occurs.
Since:
JDK1.1