myremoteinterface.java

来自「用JAVA语言实现了RMI通信?肑AVA语言实现了RMI通信?肑AVA语言实现了」· Java 代码 · 共 26 行

JAVA
26
字号
/* * MyRemoteInterface.java * * Created on 2006年9月14日, 下午1:44 * * To change this template, choose Tools | Options and locate the template under * the Source Creation and Management node. Right-click the template and choose * Open. You can then make changes to the template in the Source Editor. */package simplermi;import java.rmi.Remote;import java.rmi.RemoteException;import java.util.ArrayList;/** *定义自己的远程接口 声明抽象方法 *@author jiang *@version 1.0 */public interface MyRemoteInterface extends Remote{       public ArrayList getFromDatabase(String cmd) throws RemoteException;}

⌨️ 快捷键说明

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