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

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

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

            ServiceInvoker.StartService(ip, portstr, grcservice);
            return(grcservice);
        }
Ejemplo 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);
        }
Ejemplo 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);
        }
Ejemplo 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);
 }
Ejemplo n.º 10
0
 public static void StartService(string ip, string portstr)
 {
     ServiceInvoker.StartService(ip, portstr, new CafeAuthOldVersionService());
 }
Ejemplo n.º 11
0
 public static Service StartService(string ip, string portstr)
 {
     TradeService.Instance = new TradeService();
     ServiceInvoker.StartService(ip, portstr, TradeService.Instance);
     return(TradeService.Instance);
 }
Ejemplo n.º 12
0
 public static void StartService(string ip, string portstr)
 {
     ServiceInvoker.StartService(ip, portstr, new ExecutionService(ip, portstr));
 }
Ejemplo 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);
 }