remotestockrw_i.java
来自「这是一个买卖系统,一个模拟的系统,根据下订单,看订单,买,等功能」· Java 代码 · 共 27 行
JAVA
27 行
/**
* @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 + =
减小字号Ctrl + -
显示快捷键?