📄 rmiintf.java
字号:
import java.rmi.Remote;
import java.rmi.RemoteException;
/**
* This Interface define all the abstract method
* which should be implemented.
*
* @version 1.0 9 June 2007
* @author Zhao Xiaoyu
*/
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 + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -