Class BaseConnector<TMessage, TPortfolioKey, TSecurityKey>
- Namespace
- ATAS.DataFeedsCore
- Assembly
- ATAS.DataFeedsCore.dll
BaseConnector<TMessage, TPortfolioKey, TSecurityKey, TSecurityPositionManager> with ISecurityPositionManager as the position manager type: the base class of most connectors.
public abstract class BaseConnector<TMessage, TPortfolioKey, TSecurityKey> : BaseConnector<TMessage, TPortfolioKey, TSecurityKey, ISecurityPositionManager>, IDataFeedConnector, ILoggerSource, ISupportChangePosition, IMarketDataPublisher where TMessage : class where TPortfolioKey : notnull where TSecurityKey : notnull
Type Parameters
TMessageThe type of the messages processed by the connector's queue.
TPortfolioKeyThe connector's key of a portfolio.
TSecurityKeyThe connector's key of a security.
- Inheritance
-
objectBaseLoggerSourceBaseConnector<TMessage, TPortfolioKey, TSecurityKey, ISecurityPositionManager>BaseConnector<TMessage, TPortfolioKey, TSecurityKey>
- Implements
- Derived
- Extension Methods
Constructors
BaseConnector()
Initializes the connector; the id generator starts from the milliseconds elapsed since local midnight.
protected BaseConnector()
BaseConnector(long)
Initializes the connector with the initial value of its id generator.
protected BaseConnector(long initialId)
Parameters
initialIdlongThe initial value of
IdGenerator.