?? smartworld.java
字號(hào):
/*
* 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;
}
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -