示例#1
0
        public void isDisconnectedFromFIXTTServer()
        {
            AlertEventArgs alertEventArgs = new AlertEventArgs();

            //alertEventArgs.uuiData = "Disconnected From TT FIX";
            alertEventArgs.fixConn = false;
            CallAlert(new object(), alertEventArgs);
        }
示例#2
0
        //public void updateCQGReConnectBtn()
        //{
        //    if (this.InvokeRequired)
        //    {
        //        ThreadSafeTTFIXConnDelegate d = new ThreadSafeTTFIXConnDelegate(threadSafeTTFIXConn);

        //        this.Invoke(d, e);
        //    }
        //    else
        //    {
        //        threadSafeTTFIXConn(e);
        //    }
        //}

        public void isConnectedToFIXTTServer()
        {
            AlertEventArgs alertEventArgs = new AlertEventArgs();

            //alertEventArgs.uuiData = "Connected To TT FIX";
            alertEventArgs.fixConn = true;
            CallAlert(new object(), alertEventArgs);
        }