public static void ExitRoute() { if (IsStartRoute == false) { return; } IsStartRoute = false;//设置为开启 WcfGlobal.Quit(StartType.RouterBaseService); WcfGlobal.Quit(StartType.RouterFileService); }
public static void Exit() { WcfGlobal.Quit(StartType.PublishService); WcfGlobal.Quit(StartType.MiddlewareTask); WcfGlobal.Quit(StartType.SuperClient); WcfGlobal.Quit(StartType.BaseService); WcfGlobal.Quit(StartType.FileService); WcfGlobal.Quit(StartType.RouterBaseService); WcfGlobal.Quit(StartType.RouterFileService); WcfGlobal.Quit(StartType.MongoDB); WcfGlobal.Quit(StartType.Nginx); }
public static void ExitBase() { if (IsStartBase == false) { return; } IsStartBase = false;//设置为开启 MiddlewareLogHelper.WriterLog(LogType.MidLog, true, Color.Red, "正在准备关闭中间件服务,请等待..."); ClientLinkManage.UnAllConnection();//关闭所有连接 WcfGlobal.Quit(StartType.MiddlewareTask); WcfGlobal.Quit(StartType.SuperClient); WcfGlobal.Quit(StartType.BaseService); WcfGlobal.Quit(StartType.FileService); WcfGlobal.Quit(StartType.HttpService); }