org.marketcetera.marketdata.marketcetera
Class MarketceteraFeedModule

java.lang.Object
  extended by org.marketcetera.module.Module
      extended by org.marketcetera.marketdata.AbstractMarketDataModule<MarketceteraFeedToken,MarketceteraFeedCredentials>
          extended by org.marketcetera.marketdata.marketcetera.MarketceteraFeedModule
All Implemented Interfaces:
NotificationBroadcaster, NotificationEmitter, AbstractMarketDataModuleMXBean, MarketceteraFeedMXBean, DataEmitter

public class MarketceteraFeedModule
extends AbstractMarketDataModule<MarketceteraFeedToken,MarketceteraFeedCredentials>
implements MarketceteraFeedMXBean

StrategyAgent module for MarketceteraFeed.

Note that in case of a credentials change via setSenderCompID(String), setTargetCompID(String), or setURL(String), this module must be restarted for the changes to take effect.

Module Features

Management InterfaceMarketceteraFeedMXBean
FactoryMarketceteraFeedModuleFactory
For all other aspects see parent

Since:
1.0.0
Version:
$Id: MarketceteraFeedModule.java 16154 2012-07-14 16:34:05Z colin $
Author:
Colin DuPlantis

Method Summary
protected  MarketceteraFeedCredentials getCredentials()
           
 String getSenderCompID()
          Gets the Sender Comp ID that is used to authenticate to the Marketcetera Exchange server.
 String getTargetCompID()
          Gets the Target Comp ID that is used to authenticate to the Marketcetera Exchange server.
 String getURL()
          Returns the URL that describes the location of the Marketcetera Exchange server.
 void setSenderCompID(String inSenderCompID)
          Sets the Sender Comp ID that is used to authenticate to the Marketcetera Exchange server.
 void setTargetCompID(String inTargetCompID)
          Sets the Target Comp ID that is used to authenticate to the Marketcetera Exchange server.
 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

getSenderCompID

public final String getSenderCompID()
Description copied from interface: MarketceteraFeedMXBean
Gets the Sender Comp ID that is used to authenticate to the Marketcetera Exchange server.

Specified by:
getSenderCompID in interface MarketceteraFeedMXBean
Returns:
a String value

getTargetCompID

public final String getTargetCompID()
Description copied from interface: MarketceteraFeedMXBean
Gets the Target Comp ID that is used to authenticate to the Marketcetera Exchange server.

Specified by:
getTargetCompID in interface MarketceteraFeedMXBean
Returns:
a String value

getURL

public final String getURL()
Description copied from interface: MarketceteraFeedMXBean
Returns the URL that describes the location of the Marketcetera Exchange server.

Specified by:
getURL in interface MarketceteraFeedMXBean
Returns:
a String value

setSenderCompID

public final void setSenderCompID(String inSenderCompID)
Description copied from interface: MarketceteraFeedMXBean
Sets the Sender Comp ID that is used to authenticate to the Marketcetera Exchange server.

Specified by:
setSenderCompID in interface MarketceteraFeedMXBean
Parameters:
inSenderCompID - a String value

setTargetCompID

public final void setTargetCompID(String inTargetCompID)
Description copied from interface: MarketceteraFeedMXBean
Sets the Target Comp ID that is used to authenticate to the Marketcetera Exchange server.

Specified by:
setTargetCompID in interface MarketceteraFeedMXBean
Parameters:
inTargetCompID - a String value

setURL

public final void setURL(String inURL)
Description copied from interface: MarketceteraFeedMXBean
Sets the URL that describes the location of the Marketcetera Exchange server.

Specified by:
setURL in interface MarketceteraFeedMXBean
Parameters:
inURL - a String value

getCredentials

protected final MarketceteraFeedCredentials getCredentials()
                                                    throws CoreException
Specified by:
getCredentials in class AbstractMarketDataModule<MarketceteraFeedToken,MarketceteraFeedCredentials>
Throws:
CoreException


Copyright © 2012. All Rights Reserved.