//volatile MBTradingQuote _quotes;
        //public MBTradingQuote Quotes
        //{
        //    get { return _quotes; }
        //}
        //volatile MBTradingHistory _history;
        //public MBTradingHistory History
        //{
        //    get { return _history; }
        //}
        //volatile MBTradingOrders _orders;
        ///// <summary>
        ///// 
        ///// </summary>
        //public MBTradingOrders Orders
        //{
        //    get { return _orders; }
        //}
        //MBTradingAdapter _adapter;
        /// <summary>
        /// Constructor.
        /// </summary>
        public MBTradingTestConnectionManager()
        {
            ChangeOperationalState(OperationalStateEnum.Constructed);

            _messageLoopOperator = new BackgroundMessageLoopOperator(false);
            //_quotes = new MBTradingQuote(_messageLoopOperator);
            //_history = new MBTradingHistory(_messageLoopOperator);
            //_orders = new MBTradingOrders(_messageLoopOperator);

            _messageLoopOperator.Start();
        }
        /// <summary>
        /// Constructor.
        /// </summary>
        public FXCMConnectionManager(FXCMAdapter adapter)
        {
            ChangeOperationalState(OperationalStateEnum.Constructed);

            _subscriptionResponse = -1;
            _adapter = adapter;
            _messageLoopOperator = new BackgroundMessageLoopOperator(false);
            _orders = new FXCMOrders(_messageLoopOperator);

            _messageLoopOperator.Start();
        }