Uses of Interface java.rmi.server.RemoteCall (Java Platform SE 8 )
Date: 2026-04-17

## Uses of Interface
java.rmi.server.RemoteCall

- Packages that use RemoteCall
  Package | Description
  --- | ---
  java.rmi.server | Provides classes and interfaces for supporting the server side of RMI.

- - ### Uses of RemoteCall in java.rmi.server

    Methods in java.rmi.server that return RemoteCall
    Modifier and Type | Method and Description
    --- | ---
    `RemoteCall` | RemoteRef.`newCall(RemoteObject obj, Operation[] op, int opnum, long hash)` Deprecated. 1.2 style stubs no longer use this method. Instead of using a sequence of method calls on the stub's the remote reference (`newCall`, `invoke`, and `done`), a stub uses a single method, `invoke(Remote, Method, Object[], int)`, on the remote reference to carry out parameter marshalling, remote method executing and unmarshalling of the return value.

    Methods in java.rmi.server with parameters of type RemoteCall
    Modifier and Type | Method and Description
    --- | ---
    `void` | Skeleton.`dispatch(Remote obj, RemoteCall theCall, int opnum, long hash)` Deprecated. no replacement
    `void` | RemoteRef.`done(RemoteCall call)` Deprecated. 1.2 style stubs no longer use this method. Instead of using a sequence of method calls to the remote reference (`newCall`, `invoke`, and `done`), a stub uses a single method, `invoke(Remote, Method, Object[], int)`, on the remote reference to carry out parameter marshalling, remote method executing and unmarshalling of the return value.
    `void` | RemoteRef.`invoke(RemoteCall call)` Deprecated. 1.2 style stubs no longer use this method. Instead of using a sequence of method calls to the remote reference (`newCall`, `invoke`, and `done`), a stub uses a single method, `invoke(Remote, Method, Object[], int)`, on the remote reference to carry out parameter marshalling, remote method executing and unmarshalling of the return value.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.