public class YahooFeedModule extends AbstractMarketDataModule<YahooFeedToken,YahooFeedCredentials> implements YahooFeedMXBean
Module Features
| Capabilities | Data Emitter |
|---|---|
| Stops data flows | No |
| Start Operation | Starts the feed, logs into it. |
| Stop Operation | Stops the data feed. |
| Management Interface | AbstractMarketDataModuleMXBean |
| MX Notification | AttributeChangeNotification
whenever AbstractMarketDataModule.getFeedStatus() changes. |
| Modifier and Type | Method and Description |
|---|---|
protected YahooFeedCredentials |
getCredentials() |
String |
getRefreshInterval()
Gets the interval at which to refresh market data in ms.
|
long |
getRequestCounter()
Gets the number of requests that have been made.
|
String |
getURL()
Returns the URL that describes the location of the Yahoo server.
|
void |
resetRequestCounter()
Resets the request counter.
|
void |
setRefreshInterval(String inRefreshInterval)
Sets the interval at which to refresh market data in ms.
|
void |
setURL(String inURL)
Sets the URL that describes the location of the Marketcetera Exchange server.
|
addNotificationListener, cancel, getAssetClasses, getCapabilities, getFeedForProviderName, getFeedStatus, getFeedType, getNotificationInfo, preStart, preStop, reconnect, removeNotificationListener, removeNotificationListener, requestDatagetCreated, getLastStartFailure, getLastStopFailure, getStarted, getState, getStopped, getURN, isAutoCreated, isAutoStartclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAssetClasses, getCapabilities, getFeedStatus, reconnectpublic String getURL()
YahooFeedMXBeangetURL in interface YahooFeedMXBeanString valuepublic void setURL(String inURL)
YahooFeedMXBeansetURL in interface YahooFeedMXBeaninURL - a String valuepublic String getRefreshInterval()
YahooFeedMXBeangetRefreshInterval in interface YahooFeedMXBeanString valuepublic void setRefreshInterval(String inRefreshInterval)
YahooFeedMXBeansetRefreshInterval in interface YahooFeedMXBeaninRefreshInterval - a String valuepublic long getRequestCounter()
YahooFeedMXBeangetRequestCounter in interface YahooFeedMXBeanlong valuepublic void resetRequestCounter()
YahooFeedMXBeanresetRequestCounter in interface YahooFeedMXBeanprotected YahooFeedCredentials getCredentials() throws CoreException
getCredentials in class AbstractMarketDataModule<YahooFeedToken,YahooFeedCredentials>CoreExceptionCopyright © 2015. All Rights Reserved.