/*
 * @author : Elangovan
 * 
 * Development Environment : Oracle9i JDeveloper
 * Name of the file        : StockQuoteService.java
 * 
 * Creation/Modification History
 * 
 *   Elangovan        06-Aug-2003      Created
 * 
 */
package oracle.otnsamples.ibfbs.admin.ejb;

import java.rmi.Remote;
import java.rmi.RemoteException;

/**
 * This interface is the Web Service endpoint interface, declares the methods that
 * a remote web service client can invoke on this service. The implementation 
 * for the methods are present in the bean(StockQuoteBean.java) class.
 * 
 * @see StockQuoteBean.java
 */
public interface StockQuoteService extends Remote  {
  
  /**
   * This method retrieves the latest stock quote for the specified array of symbols.
   *  
   * @param symbols A valid array of stock symbols for which quote is required
   * @return Array of latest stock quotes corresponding to the specified symbols
   * @throws RemoteException if symbol is null or stock quote 
   * does not exist for the specified symbol.
   *  
   */
  public Float[] getStockQuote(String symbols[]) 
    throws RemoteException;

}