📄 remotestockrw_i.java
字号:
/**
* @author Michael Alexander Smith
* @version 2.0
*/
package Remote;
import java.rmi.*;
import Catalogue.*;
import Middle.*;
/**
* Defines the RMI interface for read/write access to the stock object.
* @author Michael Alexander Smith
* @version 2.0
*/
public interface RemoteStockRW_I
extends RemoteStockR_I, Remote
{
boolean buyStock( String number, int amount) throws RemoteException, StockException;
void addStock( String number, int amount) throws RemoteException, StockException;
void modifyStock( Product detail ) throws RemoteException, StockException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -