helloworld.java
来自「精通RMI 这是RMI的入门基础 特别对刚开始学RMI的同胞们很有帮助」· Java 代码 · 共 27 行
JAVA
27 行
/*
* Copyright 1999 by dreamBean Software,
* All rights reserved.
*/
package masteringrmi.helloapplet.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.helloapplet.server.HelloWorldImpl
* @author Rickard 謆erg (rickard@dreambean.com)
*/
public interface HelloWorld
extends Remote
{
// Constants -----------------------------------------------------
public static String NAME = "helloapplet";
// Public --------------------------------------------------------
public String helloWorld(String name)
throws RemoteException;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?