annotate src/main/java/christie/topology/node/StartTopologyNode.java @ 71:36c5c050394d

update put startCG
author akahori
date Sat, 01 Sep 2018 10:00:19 +0900
parents 37601b98f0da
children bf6ab64325f9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
49
fd944876257b add node and keepalive
akahori
parents:
diff changeset
1 package christie.topology.node;
fd944876257b add node and keepalive
akahori
parents:
diff changeset
2
fd944876257b add node and keepalive
akahori
parents:
diff changeset
3 import christie.codegear.CodeGear;
fd944876257b add node and keepalive
akahori
parents:
diff changeset
4 import christie.codegear.CodeGearManager;
fd944876257b add node and keepalive
akahori
parents:
diff changeset
5 import christie.codegear.StartCodeGear;
fd944876257b add node and keepalive
akahori
parents:
diff changeset
6
fd944876257b add node and keepalive
akahori
parents:
diff changeset
7 public class StartTopologyNode extends StartCodeGear{
fd944876257b add node and keepalive
akahori
parents:
diff changeset
8
fd944876257b add node and keepalive
akahori
parents:
diff changeset
9 public StartTopologyNode(CodeGearManager cgm, TopologyNodeConfig conf, CodeGear startCG) {
fd944876257b add node and keepalive
akahori
parents:
diff changeset
10 super(cgm);
71
36c5c050394d update put startCG
akahori
parents: 68
diff changeset
11 cgm.setup(new TopologyNode());
36c5c050394d update put startCG
akahori
parents: 68
diff changeset
12 cgm.getLocalDGM().put("startCG", startCG);
61
20d4c0cce914 refactor Topology Node
akahori
parents: 49
diff changeset
13 cgm.getLocalDGM().put("topologyNodeConfig", conf);
49
fd944876257b add node and keepalive
akahori
parents:
diff changeset
14
fd944876257b add node and keepalive
akahori
parents:
diff changeset
15 }
fd944876257b add node and keepalive
akahori
parents:
diff changeset
16
fd944876257b add node and keepalive
akahori
parents:
diff changeset
17 public static void main(String[] args) {
fd944876257b add node and keepalive
akahori
parents:
diff changeset
18 TopologyNodeConfig conf = new TopologyNodeConfig(args);
61
20d4c0cce914 refactor Topology Node
akahori
parents: 49
diff changeset
19 //new TopologyNode(conf, null);
49
fd944876257b add node and keepalive
akahori
parents:
diff changeset
20 }
fd944876257b add node and keepalive
akahori
parents:
diff changeset
21
fd944876257b add node and keepalive
akahori
parents:
diff changeset
22 @Override
fd944876257b add node and keepalive
akahori
parents:
diff changeset
23 protected void run(CodeGearManager cgm) {
fd944876257b add node and keepalive
akahori
parents:
diff changeset
24 }
fd944876257b add node and keepalive
akahori
parents:
diff changeset
25
fd944876257b add node and keepalive
akahori
parents:
diff changeset
26 }