APIdia Launch Partner
Top Description Methods
java.rmi.server

public Interface RemoteCall

Known Direct Implementers
sun.rmi.transport.StreamRemoteCall
Annotations
@Deprecated
Imports
java.rmi.*, java.io.ObjectOutput, .ObjectInput, .StreamCorruptedException, .IOException

Deprecated

no replacement.

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.
Authors
Ann Wollrath, Roger Riggs
Since
1.1
See Also
java.rmi.server.RemoteRef

Method Summary

Modifier and TypeMethod and Description
public void
done()
Deprecated no replacement

Allow cleanup after the remote call has completed.

public void
executeCall()
Deprecated no replacement

Do whatever it takes to execute the call.

public ObjectInput

Returns:

input stream for reading arguments/results
getInputStream
()
Deprecated no replacement

Get the InputStream that the stub/skeleton should get results/arguments from.

public ObjectOutput

Returns:

output stream for arguments/results
getOutputStream
()
Deprecated no replacement

Return the output stream the stub/skeleton should put arguments/results into.

public ObjectOutput

Returns:

output stream for writing call result
getResultStream
(boolean
If true, indicates normal return, else indicates exceptional return.
success
)
Deprecated no replacement

Returns an output stream (may put out header information relating to the success of the call).

public void
releaseInputStream()
Deprecated no replacement

Release the input stream.

public void
releaseOutputStream()
Deprecated no replacement

Release the output stream; in some transports this would release the stream.

Method Detail

doneback to summary
public void done() throws IOException

Deprecated

no replacement

Allow cleanup after the remote call has completed.

Annotations
@Deprecated
Exceptions
IOException:
if an I/O error occurs.
Since
1.1
executeCallback to summary
public void executeCall() throws Exception

Deprecated

no replacement

Do whatever it takes to execute the call.

Annotations
@Deprecated
Exceptions
Exception:
if a general exception occurs.
Since
1.1
getInputStreamback to summary
public ObjectInput getInputStream() throws IOException

Deprecated

no replacement

Get the InputStream that the stub/skeleton should get results/arguments from.

Returns:ObjectInput

input stream for reading arguments/results

Annotations
@Deprecated
Exceptions
IOException:
if an I/O error occurs.
Since
1.1
getOutputStreamback to summary
public ObjectOutput getOutputStream() throws IOException

Deprecated

no replacement

Return the output stream the stub/skeleton should put arguments/results into.

Returns:ObjectOutput

output stream for arguments/results

Annotations
@Deprecated
Exceptions
IOException:
if an I/O error occurs.
Since
1.1
getResultStreamback to summary
public 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.

Parameters
success:boolean

If true, indicates normal return, else indicates exceptional return.

Returns:ObjectOutput

output stream for writing call result

Annotations
@Deprecated
Exceptions
IOException:
if an I/O error occurs.
StreamCorruptedException:
If already been called.
Since
1.1
releaseInputStreamback to summary
public void releaseInputStream() throws IOException

Deprecated

no replacement

Release the input stream. This would allow some transports to release the channel early.

Annotations
@Deprecated
Exceptions
IOException:
if an I/O error occurs.
Since
1.1
releaseOutputStreamback to summary
public void releaseOutputStream() throws IOException

Deprecated

no replacement

Release the output stream; in some transports this would release the stream.

Annotations
@Deprecated
Exceptions
IOException:
if an I/O error occurs.
Since
1.1