sunw.demo.quote
Class QuoteEvent

java.lang.Object
  |
  +--java.util.EventObject
        |
        +--sunw.demo.quote.QuoteEvent

public class QuoteEvent
extends EventObject

Simple encapsulation of quote data for a single stock. Note that this class is serializable because EventObject implements java.io.Serializable. The QuoteServer communicates with remote QuoteListeners (used by the QuoteMonitor bean) via QuoteEvents.

See Also:
QuoteServer, QuoteListener

Method Summary
 double getAsk()
           
 double getBid()
           
 java.util.Date getDate()
           
 double getOpen()
           
 double getPrice()
           
 java.lang.String getSymbol()
           
 long getVolume()
           
 
Methods inherited from class java.util.EventObject
getSource
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

getSymbol

public java.lang.String getSymbol()

getDate

public java.util.Date getDate()

getPrice

public double getPrice()

getBid

public double getBid()

getAsk

public double getAsk()

getOpen

public double getOpen()

getVolume

public long getVolume()