Mercurial > hg > Database > Christie-sharp
view topology/node/StartTopologyNode.cs @ 71:1169915705ab default tip
fix TopologyNode connect
author | KaitoMaeshiro <aosskaito@cr.ie.u-ryukyu.ac.jp> |
---|---|
date | Sun, 06 Feb 2022 16:47:41 +0900 |
parents | 312de6b900bc |
children |
line wrap: on
line source
using System; using Christie_net.codegear; using Christie_net.daemon; namespace Christie_net.topology.node { public class StartTopologyNode : StartCodeGear { public StartTopologyNode(CodeGearManager cgm, TopologyNodeConfig conf, CodeGear startCg) : base(cgm) { cgm.Setup(new TopologyNode()); cgm.GetLocalDGM().Put("startCG", startCg); cgm.GetLocalDGM().Put("topologyNodeConfig", conf); } public StartTopologyNode(TopologyNodeConfig conf, CodeGear startCg) : this(CreateCgm(conf.localPort), conf, startCg) { } } }