someimpl.java

来自「java rmi模版 服务器端用户端接口模版」· Java 代码 · 共 24 行

JAVA
24
字号
import java.rmi.*;
import java.rmi.server.*;

/**
 * This class implements the remote interface SomeInterface.
 */

public class SomeImpl extends UnicastRemoteObject
   implements SomeInterface {
  
   public SomeImpl() throws RemoteException {
      super( );
   }
  
   public String someMethod1( ) throws RemoteException {
      // code to be supplied
   }

   public int someMethod2( ) throws RemoteException {
      // code to be supplied
   }

} //end class

⌨️ 快捷键说明

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