annotate src/main/java/christie/topology/node/StartTopologyNode.java @ 272:b592fe1d4a4e default tip

create example Attendance
author matac42 <matac@cr.ie.u-ryukyu.ac.jp>
date Thu, 01 Jul 2021 20:41:07 +0900
parents daf37151dd97
children
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.getLocalDGM().put("startCG", startCG);
61
20d4c0cce914 refactor Topology Node
akahori
parents: 49
diff changeset
12 cgm.getLocalDGM().put("topologyNodeConfig", conf);
118
daf37151dd97 refactor constract StartTopologyManage and StartTopologyNode
akahori
parents: 111
diff changeset
13 cgm.setup(new TopologyNode());
49
fd944876257b add node and keepalive
akahori
parents:
diff changeset
14 }
fd944876257b add node and keepalive
akahori
parents:
diff changeset
15
96
bf6ab64325f9 add Constoractor
akahori
parents: 71
diff changeset
16 public StartTopologyNode(TopologyNodeConfig conf, CodeGear startCG) {
118
daf37151dd97 refactor constract StartTopologyManage and StartTopologyNode
akahori
parents: 111
diff changeset
17 this(createCGM(conf.localPort), conf, startCG);
96
bf6ab64325f9 add Constoractor
akahori
parents: 71
diff changeset
18 }
49
fd944876257b add node and keepalive
akahori
parents:
diff changeset
19 }