Mercurial > hg > Database > Alice
annotate src/main/java/alice/topology/node/SaveCookie.java @ 547:e91a574b69de dispose
remove index
author | Nozomi Teruya <e125769@ie.u-ryukyu.ac.jp> |
---|---|
date | Tue, 18 Aug 2015 16:15:17 +0900 |
parents | 15eeb439830c |
children |
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); | |
467 | 10 |
429 | 11 public SaveCookie(){ |
547 | 12 info.setKey("cookie", this); |
429 | 13 } |
467 | 14 |
429 | 15 @Override |
16 public void run() { | |
17 System.out.println(info.asString()); | |
467 | 18 |
429 | 19 } |
467 | 20 |
21 | |
429 | 22 } |