Exemplo n.º 1
0
 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();
     }
 }
Exemplo n.º 2
0
 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);
 }
Exemplo n.º 3
0
        public static Service StartService(string ip, string portstr)
        {
            TalkService talkService = new TalkService();

            ServiceInvoker.StartService(ip, portstr, talkService);
            return(talkService);
        }
Exemplo n.º 4
0
        public static Service StartService(string ip, string portstr)
        {
            CafeAuthJPNVersionService cafeAuthJPNVersionService = new CafeAuthJPNVersionService();

            ServiceInvoker.StartService(ip, portstr, cafeAuthJPNVersionService);
            return(cafeAuthJPNVersionService);
        }
Exemplo n.º 5
0
 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);
 }
Exemplo n.º 6
0
        public static Service StartService(string ip, string portstr)
        {
            GRCService grcservice = new GRCService();

            ServiceInvoker.StartService(ip, portstr, grcservice);
            return(grcservice);
        }
Exemplo n.º 7
0
        public static Service StartService(string ip, string portstr)
        {
            HackShieldService hackShieldService = new HackShieldService();

            ServiceInvoker.StartService(ip, portstr, hackShieldService);
            HackShieldService.StartReporting(hackShieldService);
            return(hackShieldService);
        }
Exemplo n.º 8
0
        public static Service StartService(string ip, string portstr)
        {
            MMOChannelService mmochannelService = new MMOChannelService();

            ServiceInvoker.StartService(ip, portstr, mmochannelService);
            MMOChannelService.StartReporting(mmochannelService);
            return(mmochannelService);
        }
Exemplo n.º 9
0
 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);
 }
Exemplo n.º 10
0
 public static void StartService(string ip, string portstr)
 {
     ServiceInvoker.StartService(ip, portstr, new CafeAuthOldVersionService());
 }
Exemplo n.º 11
0
 public static Service StartService(string ip, string portstr)
 {
     TradeService.Instance = new TradeService();
     ServiceInvoker.StartService(ip, portstr, TradeService.Instance);
     return(TradeService.Instance);
 }
Exemplo n.º 12
0
 public static void StartService(string ip, string portstr)
 {
     ServiceInvoker.StartService(ip, portstr, new ExecutionService(ip, portstr));
 }
Exemplo n.º 13
0
 public static Service StartService(string ip, string portstr)
 {
     AdminClientService.Instance = new AdminClientService();
     ServiceInvoker.StartService(ip, portstr, AdminClientService.Instance, false);
     return(AdminClientService.Instance);
 }