helloworld.java
来自「最新的关于精通rmi这本书的源码」· Java 代码 · 共 27 行
JAVA
27 行
/*
* Copyright 1999 by dreamBean Software,
* All rights reserved.
*/
package masteringrmi.hellosocket.interfaces;
import java.rmi.Remote;
import java.rmi.RemoteException;
/**
* This is the remote interface of the remote object.
*
* It has one method which can be invoked remotely.
*
* @see masteringrmi.hellosocket.server.HelloWorldImpl
* @author Rickard 謆erg (rickard@dreambean.com)
*/
public interface HelloWorld
extends Remote
{
// Constants -----------------------------------------------------
public static String NAME = "helloapplet";
// Public --------------------------------------------------------
public String helloWorld()
throws RemoteException;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?