Mercurial > hg > Database > Alice
view 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 |
line wrap: on
line source
package alice.topology.node; import alice.codesegment.CodeSegment; import alice.datasegment.CommandType; import alice.datasegment.Receiver; public class SaveCookie extends CodeSegment{ private Receiver info = ids.create(CommandType.PEEK); public SaveCookie(){ info.setKey("cookie"); } @Override public void run() { System.out.println(info.asString()); } }