Example #1
0
 public ServerRealTick()
 {
     newProviderName        = Providers.RealTick;
     _bw                    = new System.ComponentModel.BackgroundWorker();
     _bw.DoWork            += new System.ComponentModel.DoWorkEventHandler(_bw_DoWork);
     newRegisterSymbols    += new SymbolRegisterDel(ServerRealTick_newRegisterSymbols);
     newSendOrderRequest   += new OrderDelegateStatus(ServerRealTick_newSendOrderRequest);
     newOrderCancelRequest += new LongDelegate(ServerRealTick_newOrderCancelRequest);
     newFeatureRequest     += new MessageArrayDelegate(ServerRealTick_newFeatureRequest);
     newPosList            += new PositionArrayDelegate(ServerRealTick_gotSrvPosList);
     newAcctRequest        += new StringDelegate(ServerRealTick_newAcctRequest);
 }
Example #2
0
        public ServerRealTick()
        {

            
            newProviderName = Providers.RealTick;
            _bw = new System.ComponentModel.BackgroundWorker();
            _bw.DoWork += new System.ComponentModel.DoWorkEventHandler(_bw_DoWork);
            newRegisterSymbols += new SymbolRegisterDel(ServerRealTick_newRegisterSymbols);
            newSendOrderRequest += new OrderDelegateStatus(ServerRealTick_newSendOrderRequest);
            newOrderCancelRequest += new LongDelegate(ServerRealTick_newOrderCancelRequest);
            newFeatureRequest += new MessageArrayDelegate(ServerRealTick_newFeatureRequest);
            newPosList += new PositionArrayDelegate(ServerRealTick_gotSrvPosList);
            newAcctRequest += new StringDelegate(ServerRealTick_newAcctRequest);
        }