view src/main/java/alice/topology/node/SaveCookie.java @ 655:1c93e82e05c6 default tip

fix timestamp
author suruga
date Sat, 17 Feb 2018 00:33:00 +0900
parents 646f705e65b1
children
line wrap: on
line source

package alice.topology.node;

import alice.codesegment.CodeSegment;
import alice.datasegment.CommandType;
import alice.datasegment.Receiver;
import org.apache.log4j.Logger;


public class SaveCookie extends CodeSegment{

    private Receiver info = ids.create(CommandType.PEEK);
    private Logger logger = Logger.getLogger(SaveCookie.class);

    public SaveCookie(){
        info.setKey("cookie");
    }

    @Override
    public void run() {
        logger.info("SaveCookie:" + info.asString());
    }


}