Save This Page
Home » openjdk-7 » java » rmi » server » [javadoc | source]
java.rmi.server
public interface: RemoteCall [javadoc | source] 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.
Method from java.rmi.server.RemoteCall Summary:
done,   executeCall,   getInputStream,   getOutputStream,   getResultStream,   releaseInputStream,   releaseOutputStream
Method from java.rmi.server.RemoteCall Detail:
 public  void done() throws IOExceptionDeprecated! no -  replacement

      Deprecated!
    Allow cleanup after the remote call has completed.
 public  void executeCall() throws ExceptionDeprecated! no -  replacement

      Deprecated!
    Do whatever it takes to execute the call.
 public ObjectInput getInputStream() throws IOExceptionDeprecated! no -  replacement

      Deprecated!
    Get the InputStream that the stub/skeleton should get results/arguments from.
 public ObjectOutput getOutputStream() throws IOExceptionDeprecated! no -  replacement

      Deprecated!
    Return the output stream the stub/skeleton should put arguments/results into.
 public ObjectOutput getResultStream(boolean success) throws IOException, StreamCorruptedExceptionDeprecated! no -  replacement

      Deprecated!
    Returns an output stream (may put out header information relating to the success of the call). Should only succeed once per remote call.
 public  void releaseInputStream() throws IOExceptionDeprecated! no -  replacement

      Deprecated!
    Release the input stream. This would allow some transports to release the channel early.
 public  void releaseOutputStream() throws IOExceptionDeprecated! no -  replacement

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