Mercurial > hg > Database > Alice
comparison src/alice/topology/manager/keeparive/RespondPing.java @ 318:32d033a4b3c7
Refactor
author | sugi |
---|---|
date | Tue, 10 Dec 2013 18:29:30 +0900 |
parents | 9e84deb9b1e0 |
children | aafc88985822 |
comparison
equal
deleted
inserted
replaced
317:1ddaa687f44a | 318:32d033a4b3c7 |
---|---|
12 } | 12 } |
13 | 13 |
14 @Override | 14 @Override |
15 public void run() { | 15 public void run() { |
16 RespondData d = respond.asClass(RespondData.class); | 16 RespondData d = respond.asClass(RespondData.class); |
17 System.out.print("Data from "+d.from); | 17 System.out.print("ping from "+d.from); |
18 System.out.println(" Data time "+d.time); | 18 System.out.println(" Recieved time "+d.time); |
19 TaskInfo task = new TaskInfo(d.from, "_RESPONCE", 5 * 1000); | 19 TaskInfo task = new TaskInfo(d.from, "_RESPONCE", 5 * 1000); |
20 ods.put("_TASKINFO", task); | 20 ods.put("_TASKINFO", task); |
21 | 21 |
22 } | 22 } |
23 | 23 |