private void ProcessSendReconnect(int conId, byte[] arrMsgBody)
        {
            CSendReconnect sendRecon = CUtilProto.DeserializeProto <CSendReconnect>(arrMsgBody);

            Log("Process sending reconnect");
            _dealingServer.OnTrdMgrSentReconnect(sendRecon.ConnectionId);
        }
Esempio n. 2
0
        public void SendReconnect(object sender, ExecutedRoutedEventArgs e)
        {
            CSendReconnect sendRec = (CSendReconnect)e.Parameter;
            int            conId   = GetConnId(sendRec.StockExchId);


            _commuTradeManager.SendDataToServer(conId, sendRec,
                                                enmTradingEvent.SendReconnect);;
        }
Esempio n. 3
0
        private void ButtonReconnect_Click(object sender, RoutedEventArgs e)
        {
            CSendReconnect sendReconnect = new CSendReconnect
            {
                StockExchId  = CodesStockExch._04_CryptoBitfinex,
                ConnectionId = 1
            };


            CCommands.CmdReconnect.Execute(sendReconnect, this);
        }