rmiinterface.txt

来自「Icarnegie university SSD8电子书和全部练习答案」· 文本 代码 · 共 35 行

TXT
35
字号
www.pudn.com > Exercise4.rar > c


import java.rmi.*; 
import java.util.*; 

public interface RMIInterface extends Remote { 

public boolean login(String username, String password) 
throws RemoteException; 

public boolean register(String username, String password) 
throws RemoteException; 

public boolean add(String username, String password, String otherusername, 
String title, Date start, Date end) throws RemoteException; 

public boolean delete(String username, String password, int id) 
throws RemoteException; 

public boolean clear(String username, String password) 
throws RemoteException; 

public Vector<Meeting> query(String username, String password, Date start, 
Date end) throws RemoteException; 
} 








⌨️ 快捷键说明

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