Spinach.SwarmMemory.BroadcastResult C# (CSharp) Method

BroadcastResult() public method

public BroadcastResult ( string result ) : void
result string
return void
        public void BroadcastResult(string result)
        {
         
            if (permissions.Count > 1)
            {
                string xml = "<FinalResult>" + "<Pid>" + Pid + "</Pid>" + "<Result>" + result + "</Result>" + "</FinalResult>";
                AsynchronousSocketListener msocket = conn.getSocket();
                string myIP = msocket.GetIP();
                string myPort = msocket.GetPort();
                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 client = new AsynchronousClient();
                client.SetMultiMsg(tempToSend, xml, myIP + ":" + myPort);
                Thread t = new Thread(new ThreadStart(client.SendMultiClient));
                t.IsBackground = true;
                t.Start();
            }
        }
        public void BroadcastPlot(string plot)