public bool ReRunClicked(string myIP, string myPort)
{
setMaster(myIP + ":" + myPort);
setBackUp(selectBackUp());
ClearTask();
//if (rnBtnClicked != null)
// rnBtnClicked(true);
if (permissions.Count > 1)
{
List<string> endPoints = Peers();
Hashtable temp = conn.GetIPtoPeer();
Hashtable tempToSend = new Hashtable();
foreach (DictionaryEntry item in temp)
{
if (endPoints.Contains(item.Key.ToString()))
{
tempToSend.Add(item.Key, item.Value);
}
}
AsynchronousClient client1 = new AsynchronousClient();
client1.SetMultiMsg(tempToSend, getMasterBackUpXML(), myIP + ":" + myPort);
Thread t1 = new Thread(new ThreadStart(client1.SendMultiClient));
t1.IsBackground = true;
t1.Start();
}
return true;
}
public Hashtable getPermissions()