Mercurial > hg > Database > Alice
comparison src/alice/topology/manager/reconnection/CheckConnectionList.java @ 274:f866178f3018
success to reconnect
author | sugi |
---|---|
date | Sun, 29 Sep 2013 17:17:10 +0900 |
parents | 3667ab045530 |
children | 99026285c5dc |
comparison
equal
deleted
inserted
replaced
273:d136c65d8904 | 274:f866178f3018 |
---|---|
50 List<HostMessage> clist2 = connectionList.get(absName2); | 50 List<HostMessage> clist2 = connectionList.get(absName2); |
51 for (HostMessage mes3 : clist2){ | 51 for (HostMessage mes3 : clist2){ |
52 if (mes3.name.equals(oldInfo.name)&&mes3.port == oldInfo.port){ | 52 if (mes3.name.equals(oldInfo.name)&&mes3.port == oldInfo.port){ |
53 mes3.name = newInfo.name; | 53 mes3.name = newInfo.name; |
54 mes3.port = newInfo.port; | 54 mes3.port = newInfo.port; |
55 mes3.setFlag(); | |
55 ods.put(absName2, "_RECODATA", mes3); | 56 ods.put(absName2, "_RECODATA", mes3); |
56 break; | 57 break; |
57 } | 58 } |
58 } | 59 } |
59 break; | 60 break; |
60 } | 61 } |
61 } | 62 } |
62 } | 63 } |
64 System.out.println("SendHost Data"); | |
63 ods.put(absName, ValueFactory.createNilValue()); | 65 ods.put(absName, ValueFactory.createNilValue()); |
64 ods.update("connection", connectionList); | 66 ods.update("connection", connectionList); |
65 new ReceiveError(); | 67 new ReceiveError(); |
66 } | 68 } |
67 } | 69 } |
68 |