private void AdminService_Load(object sender, EventArgs e) { try { this.Service = new AdaptorService(); this.Service.Disposed += delegate(object sender2, EventArgs e2) { this.Service.Thread.Stop(); }; string text = ConfigurationManager.AppSettings["NamingService IP"]; string text2 = ConfigurationManager.AppSettings["NamingService Port"]; if (text == null || text2 == null) { text = "localhost"; text2 = "42"; } ServiceInvoker.StartService(text, text2, this.Service); this.CheckInterval.Start(); } catch (Exception ex) { MessageBox.Show(ex.Message); Application.Exit(); } }
public static Service StartService(string ip, string portstr) { GuildService.Instance = new GuildService(); ServiceInvoker.StartService(ip, portstr, GuildService.Instance); GuildService.StartReporting(GuildService.Instance); return(GuildService.Instance); }
public static Service StartService(string ip, string portstr) { TalkService talkService = new TalkService(); ServiceInvoker.StartService(ip, portstr, talkService); return(talkService); }
public static Service StartService(string ip, string portstr) { CafeAuthJPNVersionService cafeAuthJPNVersionService = new CafeAuthJPNVersionService(); ServiceInvoker.StartService(ip, portstr, cafeAuthJPNVersionService); return(cafeAuthJPNVersionService); }
public static Service StartService(string ip, string portstr) { CashShopService.Instance = new CashShopService(); ServiceInvoker.StartService(ip, portstr, CashShopService.Instance); CashShopService.StartReporting(CashShopService.Instance); return(CashShopService.Instance); }
public static Service StartService(string ip, string portstr) { GRCService grcservice = new GRCService(); ServiceInvoker.StartService(ip, portstr, grcservice); return(grcservice); }
public static Service StartService(string ip, string portstr) { HackShieldService hackShieldService = new HackShieldService(); ServiceInvoker.StartService(ip, portstr, hackShieldService); HackShieldService.StartReporting(hackShieldService); return(hackShieldService); }
public static Service StartService(string ip, string portstr) { MMOChannelService mmochannelService = new MMOChannelService(); ServiceInvoker.StartService(ip, portstr, mmochannelService); MMOChannelService.StartReporting(mmochannelService); return(mmochannelService); }
public static UnifiedNetwork.Entity.Service StartService(string ip, string portstr) { DSService.Instance = new DSService(); ServiceInvoker.StartService(ip, portstr, DSService.Instance); if (FeatureMatrix.IsEnable("ServiceReporter")) { DSService.StartReporting(DSService.Instance); } return(DSService.Instance); }
public static void StartService(string ip, string portstr) { ServiceInvoker.StartService(ip, portstr, new CafeAuthOldVersionService()); }
public static Service StartService(string ip, string portstr) { TradeService.Instance = new TradeService(); ServiceInvoker.StartService(ip, portstr, TradeService.Instance); return(TradeService.Instance); }
public static void StartService(string ip, string portstr) { ServiceInvoker.StartService(ip, portstr, new ExecutionService(ip, portstr)); }
public static Service StartService(string ip, string portstr) { AdminClientService.Instance = new AdminClientService(); ServiceInvoker.StartService(ip, portstr, AdminClientService.Instance, false); return(AdminClientService.Instance); }