示例#1
0
        protected override void OnStartup(StartupEventArgs e)
        {
            MqInitial.Init();
            //AtpInitial.Init();

            //NetElementConfig config = new NetElementConfig()
            //{
            //	TraceIp = "172.27.245.82",
            //	AgentSlot = 2,
            //	Index = 3,
            //	FrameNo = 0,
            //	SlotNo = 1,
            //	TargetIp = "172.27.245.92",
            //	conType = ConnectType.ATP_DIRECT_LINK
            //};

            //LinkMgrActor.GetInstance().ConnectNetElement("172.27.245.92", config);
        }
示例#2
0
 protected override void OnExit(ExitEventArgs e)
 {
     AtpInitial.Stop();
     MqInitial.Stop();
 }