public class StockQuoteItem extends DataItemInputCommon implements StockQuoteListener
listener
Constructor and Description |
---|
StockQuoteItem(String symbol,
UpdateManager updateManager) |
Modifier and Type | Method and Description |
---|---|
void |
setListener(ItemListener listener)
Sets the listener for this item.
|
void |
suspend() |
void |
update(StockQuote stockQuote) |
void |
wakeup() |
getAttributes, getCacheAttributes, getCacheValue, readValue, startSetAttributes, updateData
startWriteValue
getInformation, handleListenerChange, notifyData, notifyData
public StockQuoteItem(String symbol, UpdateManager updateManager)
public void setListener(ItemListener listener)
DataItem
setListener
in interface DataItem
setListener
in class DataItemBase
listener
- The listener to use or null to disable notificationpublic void suspend()
public void wakeup()
public void update(StockQuote stockQuote)
update
in interface StockQuoteListener
Copyright © 2016 Eclipse NeoSCADA Project. All rights reserved.