Exemple #1
0
        public void UpdateClientInfo(CListClientInfo listClietInfo)
        {
            //_dataSynchBotStatus.Update(listBotStatus.StockExchId, listBotStatus.Lst);
            UpdateTraderNames(listClietInfo.Lst);

            _dataSyncherClientInfo.Update(listClietInfo.StockExchId, listClietInfo.Lst);
        }
Exemple #2
0
        private void ProcessClientInfo(byte[] arrMsgBody)
        {
            CListClientInfo listClientInfo = CUtilProto.DeserializeProto <CListClientInfo>(arrMsgBody);

            Log("[CListClietInfo]");

            _client.DataUser.UpdateClientInfo(listClientInfo);
        }
        public CTradeManagerServer(IClientTradeManagerServer dealingServer)
            : base(dealingServer)
        {
            _dealingServer  = dealingServer;
            _dbCommunicator = dealingServer.DBCommunicator;
            _messenger      = dealingServer.Messenger;

            _lsBotPosTrdMgr = new CListBotPosTrdMgr(_dealingServer.StockExchId);
            _lstBotStatus   = new CListBotStatus(_dealingServer.StockExchId);
            _lstClientInfo  = new CListClientInfo(_dealingServer.StockExchId);

            CUtil.ThreadStart(ThreadProcessSendQueue);

            CUtil.ThreadStart(ThreadEnqueueStateData);
            //_dbCommunicator = _client.DBCommunicator;
        }
 public void UpdateClientInfo(CListClientInfo listClietInfo)
 {
 }