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
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
429
1b32ea1263f3 work but have bug
sugi
parents:
diff changeset
1 package alice.topology.node;
1b32ea1263f3 work but have bug
sugi
parents:
diff changeset
2
1b32ea1263f3 work but have bug
sugi
parents:
diff changeset
3 import alice.codesegment.CodeSegment;
1b32ea1263f3 work but have bug
sugi
parents:
diff changeset
4 import alice.datasegment.CommandType;
1b32ea1263f3 work but have bug
sugi
parents:
diff changeset
5 import alice.datasegment.Receiver;
1b32ea1263f3 work but have bug
sugi
parents:
diff changeset
6
1b32ea1263f3 work but have bug
sugi
parents:
diff changeset
7 public class SaveCookie extends CodeSegment{
1b32ea1263f3 work but have bug
sugi
parents:
diff changeset
8
1b32ea1263f3 work but have bug
sugi
parents:
diff changeset
9 private Receiver info = ids.create(CommandType.PEEK);
1b32ea1263f3 work but have bug
sugi
parents:
diff changeset
10
1b32ea1263f3 work but have bug
sugi
parents:
diff changeset
11 public SaveCookie(){
1b32ea1263f3 work but have bug
sugi
parents:
diff changeset
12 info.setKey("cookie");
1b32ea1263f3 work but have bug
sugi
parents:
diff changeset
13 }
1b32ea1263f3 work but have bug
sugi
parents:
diff changeset
14
1b32ea1263f3 work but have bug
sugi
parents:
diff changeset
15 @Override
1b32ea1263f3 work but have bug
sugi
parents:
diff changeset
16 public void run() {
1b32ea1263f3 work but have bug
sugi
parents:
diff changeset
17 System.out.println(info.asString());
1b32ea1263f3 work but have bug
sugi
parents:
diff changeset
18
1b32ea1263f3 work but have bug
sugi
parents:
diff changeset
19 }
1b32ea1263f3 work but have bug
sugi
parents:
diff changeset
20
1b32ea1263f3 work but have bug
sugi
parents:
diff changeset
21
1b32ea1263f3 work but have bug
sugi
parents:
diff changeset
22 }