public interface java.rmi.server
RemoteCall


Show All Login
Java SE 6
  

Deprecated. Details
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.
version1.21, 07/17/06
sinceJDK1.1
deprecatedno replacement.
See also java.rmi.server.RemoteRef

Methods
public void
done() throws IOException
Details
Allow cleanup after the remote call has completed.
ThrowsIOException: om ett I/O fel uppstår.
sinceJDK1.1
deprecatedno replacement
public void
executeCall() throws Exception
Details
Do whatever it takes to execute the call.
ThrowsException: if a general exception occurs.
sinceJDK1.1
deprecatedno replacement
public void
releaseInputStream() throws IOException
Details
Release the input stream. This would allow some transports to release the channel early.
ThrowsIOException: om ett I/O fel uppstår.
sinceJDK1.1
deprecatedno replacement
public void
releaseOutputStream() throws IOException
Details
Release the output stream; in some transports this would release the stream.
ThrowsIOException: om ett I/O fel uppstår.
sinceJDK1.1
deprecatedno replacement

Properties
public ObjectInput
getInputStream() throws IOException
Details
Get the InputStream that the stub/skeleton should get results/arguments from.
returninput stream for reading arguments/results
ThrowsIOException: om ett I/O fel uppstår.
sinceJDK1.1
deprecatedno replacement
public ObjectOutput
getOutputStream() throws IOException
Details
Return the output stream the stub/skeleton should put arguments/results into.
returnoutput stream for arguments/results
ThrowsIOException: om ett I/O fel uppstår.
sinceJDK1.1
deprecatedno replacement
public ObjectOutput
getResultStream(boolean success) throws IOException, StreamCorruptedException
Details
Returns an output stream (may put out header information relating to the success of the call). Should only succeed once per remote call.
successIf true, indicates normal return, else indicates exceptional return.
returnoutput stream for writing call result
ThrowsIOException: om ett I/O fel uppstår.
ThrowsStreamCorruptedException: If already been called.
sinceJDK1.1
deprecatedno replacement