Save This Page
Home » openjdk-7 » sun.rmi » transport » [javadoc | source]
sun.rmi.transport
public class: StreamRemoteCall [javadoc | source]
java.lang.Object
   sun.rmi.transport.StreamRemoteCall

All Implemented Interfaces:
    RemoteCall

Stream-based implementation of the RemoteCall interface.
Constructor:
 public StreamRemoteCall(Connection c) 
 public StreamRemoteCall(Connection c,
    ObjID id,
    int op,
    long hash) throws RemoteException 
Method from sun.rmi.transport.StreamRemoteCall Summary:
done,   exceptionReceivedFromServer,   executeCall,   getConnection,   getInputStream,   getOutputStream,   getResultStream,   getServerException,   releaseInputStream,   releaseOutputStream
Methods from java.lang.Object:
equals,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from sun.rmi.transport.StreamRemoteCall Detail:
 public  void done() throws IOException 
 protected  void exceptionReceivedFromServer(Exception ex) throws Exception 
    Routine that causes the stack traces of remote exceptions to be filled in with the current stack trace on the client. Detail exceptions are filled in iteratively.
 public  void executeCall() throws Exception 
    Do whatever it takes to execute the call.
 public Connection getConnection() 
    Return the connection associated with this call.
 public ObjectInput getInputStream() throws IOException 
    Get the InputStream the stub/skeleton should get results/arguments from.
 public ObjectOutput getOutputStream() throws IOException 
    Return the output stream the stub/skeleton should put arguments/results into.
 public ObjectOutput getResultStream(boolean success) throws IOException 
    Returns an output stream (may put out header information relating to the success of the call).
 public Exception getServerException() 
 public  void releaseInputStream() throws IOException 
    Release the input stream, this would allow some transports to release the channel early.
 public  void releaseOutputStream() throws IOException 
    Release the outputStream Currently, will not complain if the output stream is released more than once.