Mercurial > hg > Members > tatsuki > Alice
comparison src/alice/topology/manager/reconnection/ReceiveReconnectData.java @ 270:23e53aaa8720
reconnect manager worked.
author | sugi |
---|---|
date | Wed, 21 Aug 2013 15:33:49 +0900 |
parents | 9982e1c4f099 |
children | 3667ab045530 |
comparison
equal
deleted
inserted
replaced
269:9982e1c4f099 | 270:23e53aaa8720 |
---|---|
17 public void run() { | 17 public void run() { |
18 System.out.println("ReceiveReconnectData"); | 18 System.out.println("ReceiveReconnectData"); |
19 HostMessage host = hostData.asClass(HostMessage.class); | 19 HostMessage host = hostData.asClass(HostMessage.class); |
20 DataSegment.remove(host.connectionName); | 20 DataSegment.remove(host.connectionName); |
21 DataSegment.connect(host.connectionName, host.reverseName, host.name, host.port); | 21 DataSegment.connect(host.connectionName, host.reverseName, host.name, host.port); |
22 | 22 ods.put(host.connectionName, "reverseKey", host.reverseName); |
23 new ReceiveReconnectData(); | 23 new ReceiveReconnectData(); |
24 } | 24 } |
25 | 25 |
26 | 26 |
27 } | 27 } |