📄 smartworld.java
字号:
/*
* Copyright 1999 by dreamBean Software,
* All rights reserved.
*/
package smartworld.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.
*
* @author Rickard 謆erg (rickard@dreambean.com)
* @version $Revision:$
*/
public interface SmartWorld
extends Remote
{
// Constants -----------------------------------------------------
public static String NAME = "smartworld";
// Public --------------------------------------------------------
/**
* Send the name of the caller, and return a greeting.
*
* Tip: Send "World" as name to get "Hello World!" back.
*
* @param name a name
* @return a greeting
* @exception RemoteException thrown if something goes wrong in the RMI-implementation
*/
public String helloWorld(String name)
throws RemoteException;
public void sayHi(String name, boolean nice)
throws RemoteException;
public String[] testArrays(int[][] arr)
throws RemoteException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -