public interface

RemoteCall

java.rmi.server.RemoteCall
Known Indirect Subclasses

This interface is deprecated.
no replacement.

Class Overview

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.

See Also

Summary

Public Methods
abstract void done()
This method is deprecated. no replacement
abstract void executeCall()
This method is deprecated. no replacement
abstract ObjectInput getInputStream()
This method is deprecated. no replacement
abstract ObjectOutput getOutputStream()
This method is deprecated. no replacement
abstract ObjectOutput getResultStream(boolean success)
This method is deprecated. no replacement
abstract void releaseInputStream()
This method is deprecated. no replacement
abstract void releaseOutputStream()
This method is deprecated. no replacement

Public Methods

public abstract void done ()

This method is deprecated.
no replacement

Allow cleanup after the remote call has completed.

Throws
IOException if an I/O error occurs.

public abstract void executeCall ()

This method is deprecated.
no replacement

Do whatever it takes to execute the call.

Throws
Exception if a general exception occurs.

public abstract ObjectInput getInputStream ()

This method is deprecated.
no replacement

Get 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.

public abstract ObjectOutput getOutputStream ()

This method is deprecated.
no replacement

Return 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.

public abstract ObjectOutput getResultStream (boolean success)

This method is 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 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.

public abstract void releaseInputStream ()

This method is deprecated.
no replacement

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

Throws
IOException if an I/O error occurs.

public abstract void releaseOutputStream ()

This method is deprecated.
no replacement

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

Throws
IOException if an I/O error occurs.