Final

java.rmi.server
Interface RemoteCall


public interface RemoteCall

This interface defines an API to be used from the stubs and skeletons to make the actual remote call.


Method Summary
 void done()
          Deprecated. Sent by the stubs and skeletons when the remote call is done.
 void executeCall()
          Deprecated. Executes the remote call.
 ObjectInput getInputStream()
          Deprecated. Answers an ObjectInput that the stubs and skeletons can read the parameters of the remote call from.
 ObjectOutput getOutputStream()
          Deprecated. Answers an ObjectOutput where the stubs and skeletons can write the parameters of the remote call in.
 ObjectOutput getResultStream(boolean success)
          Deprecated. Answers an ObjectOutput that the stubs and skeletons can write the answer of the remote call into.
 void releaseInputStream()
          Deprecated. Releases the ObjectInput used by the stubs and skeletons to read the parameters.
 void releaseOutputStream()
          Deprecated. Releases the ObjectOutput used by the stubs and skeletons to write the parameters.
 

Method Detail

getOutputStream

public ObjectOutput getOutputStream()
                             throws IOException
Deprecated. 
Answers an ObjectOutput where the stubs and skeletons can write the parameters of the remote call in.

Returns:
ObjectOutput
IOException

releaseOutputStream

public void releaseOutputStream()
                         throws IOException
Deprecated. 
Releases the ObjectOutput used by the stubs and skeletons to write the parameters.

Returns:
ObjectOutput
IOException

getInputStream

public ObjectInput getInputStream()
                           throws IOException
Deprecated. 
Answers an ObjectInput that the stubs and skeletons can read the parameters of the remote call from.

Returns:
ObjectInput
IOException

releaseInputStream

public void releaseInputStream()
                        throws IOException
Deprecated. 
Releases the ObjectInput used by the stubs and skeletons to read the parameters.

IOException

getResultStream

public ObjectOutput getResultStream(boolean success)
                             throws StreamCorruptedException,
                                    IOException
Deprecated. 
Answers an ObjectOutput that the stubs and skeletons can write the answer of the remote call into.

Returns:
ObjectOutput
StreamCorruptedException
IOException

executeCall

public void executeCall()
                 throws Exception
Deprecated. 
Executes the remote call.

Exception

done

public void done()
          throws IOException
Deprecated. 
Sent by the stubs and skeletons when the remote call is done.

IOException

Final

Licensed Materials - Property of IBM
(C) Copyright IBM Corp. 2006 All Rights Reserved.