Mercurial > hg > Database > Alice
comparison src/alice/test/topology/ring/RingMessagePassing.java @ 34:ca079a730d0b
added method to OutputDataSegment and Receiver, to convert type from Value to Class<?> without MessagePack
author | kazz <kazz@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Thu, 19 Jan 2012 16:01:50 +0900 |
parents | 20c67f673224 |
children | ae24d5d40c10 |
comparison
equal
deleted
inserted
replaced
33:20c67f673224 | 34:ca079a730d0b |
---|---|
13 | 13 |
14 @Override | 14 @Override |
15 public void run() { | 15 public void run() { |
16 int counter = this.counter.asInteger(); | 16 int counter = this.counter.asInteger(); |
17 | 17 |
18 | |
19 try { | 18 try { |
20 System.out.print("[" + InetAddress.getLocalHost().getHostName() + "] "); | 19 System.out.print("[" + InetAddress.getLocalHost().getHostName() + "] "); |
21 } catch (UnknownHostException e) { | 20 } catch (UnknownHostException e) { |
22 e.printStackTrace(); | 21 e.printStackTrace(); |
23 } | 22 } |