Esempio n. 1
0
        private void submitTaskButton_Click(object sender, EventArgs e)
        {
            string entryUrl          = submitTaskEntryUrlMsgBox.Text;
            string source            = submitTaskSourceFileMsgBox.Text;
            string destination       = submitTaskDestFileMsgBox.Text;
            int    numberSplits      = Convert.ToInt32(submitTaskNumberSplits.Value);
            string mapper            = submitJobMapTxtBox.Text;
            string mapperDllLocation = dllLocationMsgBox.Text;

            pmGUI.submitCommandAux(CommandsManager.generateCreateJob(entryUrl, source, destination, numberSplits, mapper, mapperDllLocation));
        }
Esempio n. 2
0
        private void submitWorkerButton_Click(object sender, EventArgs e)
        {
            string workerId   = submitWorkerWorkerIdMsgBox.Text;
            string pmUrl      = submitWorkerPMUrlMsgBox.Text;
            string serviceUrl = submitWorkerServiceUrlMsgBox.Text;
            string entryUrl   = submitWorkerEntryUrlMsgBox.Text;

            string command = CommandsManager.generateCreateWorkProcess(workerId, pmUrl, serviceUrl, entryUrl);

            pmGUI.submitCommandAux(command);
        }