java.rmi.server

Interface RemoteCall

  • Deprecated. 
    no replacement.

    @Deprecated
    public interface RemoteCall
    RemoteCall is an abstraction used solely by the RMI runtime (in conjunction with stubs and skeletons of remote objects) to carry out a call to a remote object. The RemoteCall interface is deprecated because it is only used by deprecated methods of java.rmi.server.RemoteRef.
    Since:
    JDK1.1
    See Also:
    RemoteRef
    • Method Detail

      • getOutputStream

        @Deprecated
        ObjectOutput getOutputStream()
                                     throws IOException
        Deprecated. no replacement
        Return the output stream the stub/skeleton should put arguments/results into.
        Returns:
        output stream for arguments/results
        Throws:
        IOException - if an I/O error occurs.
        Since:
        JDK1.1
      • releaseOutputStream

        @Deprecated
        void releaseOutputStream()
                                 throws IOException
        Deprecated. no replacement
        Release the output stream; in some transports this would release the stream.
        Throws:
        IOException - if an I/O error occurs.
        Since:
        JDK1.1
      • getInputStream

        @Deprecated
        ObjectInput getInputStream()
                                   throws IOException
        Deprecated. no replacement
        Get the InputStream that the stub/skeleton should get results/arguments from.
        Returns:
        input stream for reading arguments/results
        Throws:
        IOException - if an I/O error occurs.
        Since:
        JDK1.1
      • releaseInputStream

        @Deprecated
        void releaseInputStream()
                                throws IOException
        Deprecated. no replacement
        Release the input stream. This would allow some transports to release the channel early.
        Throws:
        IOException - if an I/O error occurs.
        Since:
        JDK1.1
      • getResultStream

        @Deprecated
        ObjectOutput getResultStream(boolean success)
                                     throws IOException,
                                            StreamCorruptedException
        Deprecated. no replacement
        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.
        Returns:
        output stream for writing call result
        Throws:
        IOException - if an I/O error occurs.
        StreamCorruptedException - If already been called.
        Since:
        JDK1.1
      • executeCall

        @Deprecated
        void executeCall()
                         throws Exception
        Deprecated. no replacement
        Do whatever it takes to execute the call.
        Throws:
        Exception - if a general exception occurs.
        Since:
        JDK1.1
      • done

        @Deprecated
        void done()
                  throws IOException
        Deprecated. no replacement
        Allow cleanup after the remote call has completed.
        Throws:
        IOException - if an I/O error occurs.
        Since:
        JDK1.1

Traduction non disponible

Les API Java ne sont pas encore traduites en français sur l'infobrol. Seule la version anglaise est disponible pour l'instant.

Document créé le 31/08/2006, dernière modification le 04/03/2020
Source du document imprimé : https://www.gaudry.be/java-api-rf-java/rmi/server/RemoteCall.html

L'infobrol est un site personnel dont le contenu n'engage que moi. Le texte est mis à disposition sous licence CreativeCommons(BY-NC-SA). Plus d'info sur les conditions d'utilisation et sur l'auteur.

Références

  1. Consulter le document html Langue du document :fr Manuel PHP : https://docs.oracle.com, RemoteCall

Ces références et liens indiquent des documents consultés lors de la rédaction de cette page, ou qui peuvent apporter un complément d'information, mais les auteurs de ces sources ne peuvent être tenus responsables du contenu de cette page.
L'auteur de ce site est seul responsable de la manière dont sont présentés ici les différents concepts, et des libertés qui sont prises avec les ouvrages de référence. N'oubliez pas que vous devez croiser les informations de sources multiples afin de diminuer les risques d'erreurs.

Table des matières Haut