Name

RemoteCall

Synopsis

A RemoteCall is the interface used by stubs and skeletons to perform remote method calls. The getInputStream() and getOutputStream() methods return streams that can be used to marshal arguments or return values, and unmarshal them on the other end of the method call.

public interface RemoteCall {
// Deprecated Public Methods
   public abstract void done() throws IOException;               // #
   public abstract void executeCall() throws Exception;          // #
   public abstract ObjectInput getInputStream(                   // #
        ) throws IOException;  
   public abstract ObjectOutput getOutputStream(                 // #
        ) throws IOException;  
   public abstract ObjectOutput getResultStream(                 // #
        boolean success) throws IOException, StreamCorruptedException;  
   public abstract void releaseInputStream(                      // #
        ) throws IOException;  
   public abstract void releaseOutputStream(                     // #
        ) throws IOException;  
}

Passed To

RemoteRef.{done(), invoke()}, Skeleton.dispatch()

Returned By

RemoteRef.newCall()

Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.