Пример #1
0
 private void button1_Click(object sender, EventArgs e)
 {
     checkBox1.Enabled               =
         checkBox2.Enabled           =
             checkBox3.Enabled       =
                 button1.Enabled     =
                     button6.Enabled = false;
     BackendLog.Clear();
     ProviderInfo.backendIP  = textBox1.Text;
     RedirectorServer.useSSL = checkBox1.Checked;
     if (!checkBox2.Checked)
     {
         RedirectorServer.targetPort = 30001;
     }
     MagmaServer.basicMode       = true;
     RedirectorServer.box        =
         BlazeServer.box         =
             Webserver.box       =
                 MagmaServer.box = rtb1;
     RedirectorServer.Start();
     BlazeServer.Start();
     MagmaServer.Start();
     if (checkBox3.Checked)
     {
         Webserver.Start();
     }
 }
Пример #2
0
 private void toolStripMenuItem1_Click(object sender, EventArgs e)
 {
     toolStripMenuItem1.Enabled =
         launchStandaloneToolStripMenuItem.Enabled = false;
     RedirectorServer.box   =
         BlazeServer.box    =
             HttpServer.box = rtb2;
     RedirectorServer.Start();
     BlazeServer.Start();
     //HttpServer.Start();
 }
Пример #3
0
 private void Start()
 {
     BackendLog.Clear();
     ProviderInfo.backendIP  = toolStripTextBox3.Text;
     RedirectorServer.box    =
         BlazeServer.box     = rtb2;
     Webserver.box           = rtb5;
     MagmaServer.box         = rtb4;
     RedirectorServer.useSSL = checkBox1.Checked;
     RedirectorServer.Start();
     BlazeServer.Start();
     MagmaServer.Start();
     Webserver.Start();
 }
Пример #4
0
 private void Start()
 {
     ProviderInfo.backendIP  = toolStripTextBox3.Text;
     RedirectorServer.box    =
         BlazeServer.box     = rtb2;
     Webserver.box           = rtb5;
     MagmaServer.box         = rtb4;
     RedirectorServer.useSSL = checkBox1.Checked;
     RedirectorServer.Start();
     BlazeServer.Start();
     MagmaServer.Start();
     Webserver.Start();
     tabControl1.TabPages.Add(tabPage6);
     RefreshProfileList();
 }
Пример #5
0
        private void button1_Click(object sender, EventArgs e)
        {
            bool useQOS = emulateQOSServerToolStripMenuItem.Checked;

            emulateQOSServerToolStripMenuItem.Enabled = false;
            checkBox1.Enabled               =
                checkBox2.Enabled           =
                    checkBox3.Enabled       =
                        button1.Enabled     =
                            button6.Enabled = false;
            BackendLog.Clear();
            ProviderInfo.backendIP = textBox1.Text;
            if (useQOS)
            {
                ProviderInfo.QOS_IP = ProviderInfo.backendIP;
            }
            else
            {
                ProviderInfo.QOS_IP = "gossjcprod-qos01.ea.com";
            }
            RedirectorServer.useSSL = checkBox1.Checked;
            if (!checkBox2.Checked)
            {
                RedirectorServer.targetPort = 30001;
            }
            MagmaServer.basicMode           = true;
            QOSServer.box                   =
                RedirectorServer.box        =
                    BlazeServer.box         =
                        Webserver.box       =
                            MagmaServer.box = rtb1;
            RedirectorServer.Start();
            BlazeServer.Start();
            MagmaServer.Start();
            if (checkBox3.Checked)
            {
                Webserver.Start();
            }
            if (useQOS)
            {
                QOSServer.Start();
            }
        }