|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.marketcetera.module.Module
org.marketcetera.marketdata.AbstractMarketDataModule<YahooFeedToken,YahooFeedCredentials>
org.marketcetera.marketdata.yahoo.YahooFeedModule
public class YahooFeedModule
Provides access to Yahoo market data.
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. |
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.marketcetera.marketdata.AbstractMarketDataModule |
|---|
addNotificationListener, cancel, getAssetClasses, getCapabilities, getFeedStatus, getNotificationInfo, preStart, preStop, reconnect, removeNotificationListener, removeNotificationListener, requestData |
| Methods inherited from class org.marketcetera.module.Module |
|---|
getCreated, getLastStartFailure, getLastStopFailure, getStarted, getState, getStopped, getURN, isAutoCreated, isAutoStart |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.marketcetera.marketdata.AbstractMarketDataModuleMXBean |
|---|
getAssetClasses, getCapabilities, getFeedStatus, reconnect |
| Method Detail |
|---|
public String getURL()
YahooFeedMXBean
getURL in interface YahooFeedMXBeanString valuepublic void setURL(String inURL)
YahooFeedMXBean
setURL in interface YahooFeedMXBeaninURL - a String valuepublic String getRefreshInterval()
YahooFeedMXBean
getRefreshInterval in interface YahooFeedMXBeanString valuepublic void setRefreshInterval(String inRefreshInterval)
YahooFeedMXBean
setRefreshInterval in interface YahooFeedMXBeaninRefreshInterval - a String valuepublic long getRequestCounter()
YahooFeedMXBean
getRequestCounter in interface YahooFeedMXBeanlong valuepublic void resetRequestCounter()
YahooFeedMXBean
resetRequestCounter in interface YahooFeedMXBean
protected YahooFeedCredentials getCredentials()
throws CoreException
getCredentials in class AbstractMarketDataModule<YahooFeedToken,YahooFeedCredentials>CoreException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||