Mercurial > hg > Database > Alice
view src/main/java/alice/topology/node/SaveCookie.java @ 518:fc313323c53b dispose
add reconnect event
author | sugi |
---|---|
date | Thu, 22 Jan 2015 16:01:32 +0900 |
parents | 6e304a7a60e7 |
children | 15eeb439830c 767d93626b88 2df12c110ebc |
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()); } }