Mercurial > hg > Database > Alice
annotate src/main/java/alice/topology/node/SaveCookie.java @ 429:1b32ea1263f3 dispose
work but have bug
author | sugi |
---|---|
date | Tue, 22 Jul 2014 18:44:18 +0900 |
parents | |
children | 6e304a7a60e7 |
rev | line source |
---|---|
429 | 1 package alice.topology.node; |
2 | |
3 import alice.codesegment.CodeSegment; | |
4 import alice.datasegment.CommandType; | |
5 import alice.datasegment.Receiver; | |
6 | |
7 public class SaveCookie extends CodeSegment{ | |
8 | |
9 private Receiver info = ids.create(CommandType.PEEK); | |
10 | |
11 public SaveCookie(){ | |
12 info.setKey("cookie"); | |
13 } | |
14 | |
15 @Override | |
16 public void run() { | |
17 System.out.println(info.asString()); | |
18 | |
19 } | |
20 | |
21 | |
22 } |