Mercurial > hg > Members > tatsuki > Alice
comparison src/alice/topology/node/StartTopologyNode.java @ 183:75150396681c working
use synchronizedList
author | e095732 |
---|---|
date | Tue, 26 Feb 2013 14:24:23 +0900 |
parents | 52a1fa5ba38b |
children | 7f7b3506bff9 |
comparison
equal
deleted
inserted
replaced
182:52a1fa5ba38b | 183:75150396681c |
---|---|
44 ConfigurationFinish cs3 = new ConfigurationFinish(startCS); | 44 ConfigurationFinish cs3 = new ConfigurationFinish(startCS); |
45 cs3.reverseCount.setKey("local", "reverseCount"); | 45 cs3.reverseCount.setKey("local", "reverseCount"); |
46 cs3.configNodeNum.setKey("local", "configNodeNum"); | 46 cs3.configNodeNum.setKey("local", "configNodeNum"); |
47 } | 47 } |
48 | 48 |
49 @SuppressWarnings("unused") | |
49 private String getIPAddress() throws SocketException { | 50 private String getIPAddress() throws SocketException { |
50 Enumeration<NetworkInterface> interfaces = NetworkInterface.getNetworkInterfaces(); | 51 Enumeration<NetworkInterface> interfaces = NetworkInterface.getNetworkInterfaces(); |
51 | 52 |
52 while(interfaces.hasMoreElements()){ | 53 while(interfaces.hasMoreElements()){ |
53 NetworkInterface network = interfaces.nextElement(); | 54 NetworkInterface network = interfaces.nextElement(); |