rmiintf.java
来自「ssd8 exam2 的答案」· Java 代码 · 共 29 行
JAVA
29 行
import java.rmi.Remote;
import java.rmi.RemoteException;
/**
* This Interface define all the abstract method
* which should be implemented.
*
* @version 1.0 9 June 2008
* @author jack
*/
public interface RMIIntf extends Remote{
/** Abstract method register() */
public String register(String u, String p)
throws RemoteException;
/** Abstract method showusers() */
public String showusers()
throws RemoteException;
/** Abstract method checkmessage() */
public String checkmessages(String u,String p)
throws RemoteException;
/** Abstract method leavemessage() */
public String leavemessage(String u,String r, String mt)
throws RemoteException;
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?