📄 stockexchangeinterface.java
字号:
// jingjing Wang
//420 final project
import java.rmi.Remote;
public interface StockExchangeinterface extends Remote {
public void InitializeCompany(String company,String StockName,double price,int StockNumber,CompanyCallBackInterface g)
throws java.rmi.RemoteException;
public void UpdateCompanyInformation(String companyname,double price,int StockNumber)
throws java.rmi.RemoteException;
public void PlayerBuy(String player,String StockName,double buyprice,int StockNumber,PlayerCallBackInterface g)
throws java.rmi.RemoteException;
public void PlayerSell(String player,String StockName,double sellprice,int StockNumber,PlayerCallBackInterface g)
throws java.rmi.RemoteException;
public void addCallback(String name,PlayerCallBackInterface CallbackObject)throws java.rmi.RemoteException;
public void show(PlayerCallBackInterface g)throws java.rmi.RemoteException;
public void show2(PlayerCallBackInterface g)throws java.rmi.RemoteException;
public void requesttoken(PlayerCallBackInterface g)throws java.rmi.RemoteException;
public void releasetoken()throws java.rmi.RemoteException;
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -