Package com.bluesunrise.ws.finance.stockmarket.webservice

Examples of com.bluesunrise.ws.finance.stockmarket.webservice.QuoteService


     */
    public String quote(String symbol) throws RemoteException
    {
        try
        {
            QuoteService quoteService = locator.getQuoteService(serviceURL);
            return quoteService.quote(symbol);
        }
        catch (Exception e)
        {
            throw new RemoteException(e.toString());
        }
View Full Code Here


     */
    public StockQuote fullQuote(String symbol) throws RemoteException
    {
        try
        {
            QuoteService quoteService = locator.getQuoteService(serviceURL);
            BaseQuote quote = quoteService.fullQuote(symbol);
            StockQuote newQuote = new BaseStockQuote();
            convertQuote(quote, newQuote);
            return newQuote;
        }
        catch (Exception e)
View Full Code Here

     */
    public StockQuote[] fullQuotes(String[] symbols) throws RemoteException
    {
        try
        {
            QuoteService quoteService = locator.getQuoteService(serviceURL);
            BaseQuote[] quotes = quoteService.fullQuotes(symbols);
            StockQuote[] newQuotes = new BaseStockQuote[quotes.length];
            for (int ix = 0; ix < quotes.length; ix ++)
            {
                newQuotes[ix] = new BaseStockQuote();
                convertQuote(quotes[ix], newQuotes[ix]);
View Full Code Here

TOP

Related Classes of com.bluesunrise.ws.finance.stockmarket.webservice.QuoteService

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.