comparison src/alice/topology/node/IncomingConnectionInfo.java @ 216:21bd8af1cf26 working

change asClass method
author one
date Wed, 27 Mar 2013 19:38:33 +0900
parents fec0726bb126
children 7f7b3506bff9
comparison
equal deleted inserted replaced
215:1fd7067f0044 216:21bd8af1cf26
22 if (this.hostInfo.getVal() == null) { 22 if (this.hostInfo.getVal() == null) {
23 ods.put("local", "configNodeNum", count); 23 ods.put("local", "configNodeNum", count);
24 return; 24 return;
25 } 25 }
26 26
27 HostMessage hostInfo = this.hostInfo.asClass(this.hostInfo, HostMessage.class); 27 HostMessage hostInfo = this.hostInfo.asClass(HostMessage.class);
28 DataSegment.connect(hostInfo.connectionName, hostInfo.reverseName, hostInfo.name, hostInfo.port); 28 DataSegment.connect(hostInfo.connectionName, hostInfo.reverseName, hostInfo.name, hostInfo.port);
29 ods.put(hostInfo.connectionName, "reverseKey", hostInfo.reverseName); 29 ods.put(hostInfo.connectionName, "reverseKey", hostInfo.reverseName);
30 30
31 IncomingConnectionInfo cs = new IncomingConnectionInfo(absName, ++count); 31 IncomingConnectionInfo cs = new IncomingConnectionInfo(absName, ++count);
32 cs.hostInfo.setKey("manager", absName); 32 cs.hostInfo.setKey("manager", absName);