⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 serverref.java

📁 Actual Java RMI implementation
💻 JAVA
字号:
/* * @(#)ServerRef.java	1.14 01/12/03 * * Copyright 2002 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. */package java.rmi.server;import java.rmi.*;/** * A ServerRef represents the server-side handle for a remote object * implementation. * * @version 1.14, 12/03/01 * @author  Ann Wollrath * @since   JDK1.1 */public interface ServerRef extends RemoteRef {    /** indicate compatibility with JDK 1.1.x version of class. */    static final long serialVersionUID = -4557750989390278438L;    /**      * Creates a client stub object for the supplied Remote object.     * If the call completes successfully, the remote object should     * be able to accept incoming calls from clients.     * @param obj the remote object implementation     * @param data information necessary to export the object     * @return the stub for the remote object     * @exception RemoteException if an exception occurs attempting     * to export the object (e.g., stub class could not be found)     * @since JDK1.1     */    RemoteStub exportObject(Remote obj, Object data)	throws RemoteException;    /**     * Returns the hostname of the current client.  When called from a     * thread actively handling a remote method invocation the     * hostname of the client is returned.     * @return the client's host name     * @exception ServerNotActiveException if called outside of servicing     * a remote method invocation     * @since JDK1.1     */    String getClientHost() throws ServerNotActiveException;}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -