?? exchange.java
字號:
/*
* @author : Elangovan
* @version : 1.0
*
* Development Environment : Oracle9i JDeveloper
* Name of the File : Exchange.java
*
* Creation / Modification History
* Elangovan 26-Apr-2002 Created
*
*/
package oracle.otnsamples.ibfbs.admin.ejb;
import javax.ejb.EJBObject;
import java.rmi.RemoteException;
import java.util.Date;
/**
* This interface is the remote view of Exchange Service. Clients invoke methods
* on the bean using this interface.
*
* @see ExchangeBean.java
* @see ExchangeHome.java
* @see ExchangeQueue.java
*/
public interface Exchange extends EJBObject {
/**
* Executes the trade order and sends a conformation mail.
*
* @param toAddress To mail address where conformation has to be sent
* @param symbol stock symbol traded
* @param tradeDate trade date
* @param tradeType Trade type, S - sell, B - buy
* @param qty quantity of stocks traded
* @return status of process order, 0 - success, -1 - failure
* @exception RemoteException if process order fails
* @since 1.0
*/
public Integer processOrder(String toAddress, String symbol, Date tradeDate,
String tradeType, Integer qty)
throws RemoteException;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -