Mercurial > hg > Database > Christie
changeset 87:33afa0fa8bc5
delete SaveCookie
author | akahori |
---|---|
date | Sat, 15 Sep 2018 10:30:55 +0900 |
parents | 07cbaa54db43 |
children | e4d16deb9627 |
files | src/main/java/christie/topology/node/SaveCookie.java src/main/java/christie/topology/node/TopologyNode.java |
diffstat | 2 files changed, 0 insertions(+), 28 deletions(-) [+] |
line wrap: on
line diff
--- a/src/main/java/christie/topology/node/SaveCookie.java Sat Sep 15 10:28:55 2018 +0900 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,26 +0,0 @@ -package christie.topology.node; - - -import christie.annotation.Peek; -import christie.annotation.Take; -import christie.codegear.CodeGear; -import christie.codegear.CodeGearManager; -import org.apache.log4j.Logger; - - -public class SaveCookie extends CodeGear{ - - @Peek - String cookie; - - private Logger logger = Logger.getLogger(SaveCookie.class); - - public SaveCookie(){ } - - @Override - protected void run(CodeGearManager cgm) { - logger.info("SaveCookie:" + cookie); - } - - -}
--- a/src/main/java/christie/topology/node/TopologyNode.java Sat Sep 15 10:28:55 2018 +0900 +++ b/src/main/java/christie/topology/node/TopologyNode.java Sat Sep 15 10:30:55 2018 +0900 @@ -4,7 +4,6 @@ import christie.codegear.CodeGear; import christie.codegear.CodeGearManager; import christie.topology.HostMessage; -import christie.topology.manager.IncomingHosts; import java.net.InetAddress; import java.net.UnknownHostException; @@ -41,7 +40,6 @@ getLocalDGM().put("_CLIST", new ArrayList<String>()); getLocalDGM().put("reverseCount", 0); - cgm.setup(new SaveCookie()); cgm.setup(new IncomingConnectionInfo()); cgm.setup(new IncomingReverseKey()); cgm.setup(new ConfigurationFinish());