📄 companycallbackinterface.java
字号:
// jingjing Wang
//420 final project
import java.rmi.*;
// the StockExchange calls back the specific company.
public interface CompanyCallBackInterface extends java.rmi.Remote {
public void SellStock(int n,double bid)throws java.rmi.RemoteException;// sell the Stock to the client
public void BuyStock(int n,double bid)throws java.rmi.RemoteException; //buy the Stock form the client
public int getStock()throws java.rmi.RemoteException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -