public void propagateNewNodeAddress(Dictionary <String, String> returnAddressIdMap, String iD, String address) { // TODO Auto-generated method stub ServerOperations serveroperation = new ServerOperations(); updateAddrMap proxy = XmlRpcProxyGen.Create <updateAddrMap>(); foreach (KeyValuePair <string, string> entry in returnAddressIdMap) { try { proxy.Url = entry.Value; proxy.updateAddressMap(iD, address); } catch (Exception e) { Console.WriteLine(e.StackTrace); } } }
public void addReturnAdressToList(String Address) { NetworkBean data = new NetworkBean(); ServerOperations serveroperaation = new ServerOperations(); updateAddrMap proxy = XmlRpcProxyGen.Create <updateAddrMap>(); proxy.Url = Address; // XmlRpcClient server = serveroperaation.setXmlRpcConfig(Address); foreach (KeyValuePair <string, string> entry in data.getpId_Address()) { try { proxy.updateAddressMap(entry.Key, entry.Value); } catch (Exception e) { // TODO Auto-generated catch block Console.WriteLine(e.StackTrace); } } }