Mercurial > hg > Database > Alice
annotate src/alice/topology/manager/keeparive/SendPing.java @ 309:797267843126
Refactor
author | sugi |
---|---|
date | Tue, 26 Nov 2013 15:33:29 +0900 |
parents | a8255a831ade |
children |
rev | line source |
---|---|
307 | 1 package alice.topology.manager.keeparive; |
2 | |
3 import alice.codesegment.CodeSegment; | |
4 import alice.datasegment.CommandType; | |
5 import alice.datasegment.Receiver; | |
6 | |
7 public class SendPing extends CodeSegment{ | |
8 private Receiver taskInfo = ids.create(CommandType.TAKE); | |
9 | |
10 public SendPing(){ | |
11 taskInfo.setKey("_SENDPING"); | |
12 } | |
13 | |
14 @Override | |
309 | 15 public synchronized void run(){ |
16 | |
17 | |
307 | 18 } |
19 } |