Mercurial > hg > Members > tatsuki > Alice
comparison src/alice/topology/manager/reconnection/ReceiveError.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 |
---|---|
20 HostMessage message = reportInfo.asClass(HostMessage.class); | 20 HostMessage message = reportInfo.asClass(HostMessage.class); |
21 try { | 21 try { |
22 Socket socket = new Socket(message.name, message.port); | 22 Socket socket = new Socket(message.name, message.port); |
23 socket.close(); | 23 socket.close(); |
24 } catch (IOException e) { | 24 } catch (IOException e) { |
25 System.out.println("Error"); | 25 System.out.println("Erorr"); |
26 System.out.println(message.name); | |
27 System.out.println(message.port); | |
26 new CheckABSName(message); | 28 new CheckABSName(message); |
27 return; | 29 return; |
28 } | 30 } |
29 new ReceiveError(); | 31 new ReceiveError(); |
30 } | 32 } |