All Packages  Class Hierarchy  This Package  Previous  Next  Index
  Interface java.rmi.server.RemoteCall
  -  public interface RemoteCall
		
RemoteCall is an abstraction used solely by the implementation
 (stubs and skeletons of remote objects) to carry out a call to a
 remote object.
   
  -   done() done()
-   Allow cleanup after the remote call has completed.
  
-   executeCall() executeCall()
-   Do whatever it takes to execute the call.
  
-   getInputStream() getInputStream()
-   Get the InputStream that the stub/skeleton should get
 results/arguments from.
  
-   getOutputStream() getOutputStream()
-   Return the output stream the stub/skeleton should put arguments/results
 into.
  
-   getResultStream(boolean) getResultStream(boolean)
-   Returns an output stream (may put out header information
 relating to the success of the call).
  
-   releaseInputStream() releaseInputStream()
-   Release the input stream.
  
-   releaseOutputStream() releaseOutputStream()
-   Release the output stream; in some transports this would release
 the stream.
   
 getOutputStream
getOutputStream
 public abstract ObjectOutput getOutputStream() throws IOException
  -  Return the output stream the stub/skeleton should put arguments/results
 into.
   
- 
    -  Throws: IOException
    
-  if an I/O error occurs.
  
 
 releaseOutputStream
releaseOutputStream
 public abstract void releaseOutputStream() throws IOException
  -  Release the output stream; in some transports this would release
 the stream.
   
- 
    -  Throws: IOException
    
-  if an I/O error occurs.
  
 
 getInputStream
getInputStream
 public abstract ObjectInput getInputStream() throws IOException
  -  Get the InputStream that the stub/skeleton should get
 results/arguments from.
   
- 
    -  Throws: IOException
    
-  if an I/O error occurs.
  
 
 releaseInputStream
releaseInputStream
 public abstract void releaseInputStream() throws IOException
  -  Release the input stream. This would allow some transports to release
 the channel early.
   
- 
    -  Throws: IOException
    
-  if an I/O error occurs.
  
 
 getResultStream
getResultStream
 public abstract ObjectOutput getResultStream(boolean success) throws IOException, StreamCorruptedException
  -  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.
    
-  Throws: IOException
    
-  if an I/O error occurs.
    
-  Throws: StreamCorruptedException
    
-  If already been called.
  
 
 executeCall
executeCall
 public abstract void executeCall() throws Exception
  -  Do whatever it takes to execute the call.
   
- 
    -  Throws: Exception
    
-  if a general exception occurs.
  
 
 done
done
 public abstract void done() throws IOException
  -  Allow cleanup after the remote call has completed.
   
- 
    -  Throws: IOException
    
-  if an I/O error occurs.
  
 
All Packages  Class Hierarchy  This Package  Previous  Next  Index
Submit a bug or feature