Example #1
0
        public IdManager()
        {
            Global.DbManager.LoadDb(CacheConfig.Get(CacheConfig.HNAME2ADDR));
            Global.DbManager.LoadDb(CacheConfig.Get(CacheConfig.ANAME2CNAME));
            Global.DbManager.LoadDb(CacheConfig.Get(CacheConfig.ANAME2HNAME));
            Global.DbManager.LoadDb(CacheConfig.Get(CacheConfig.ANAME2TNAME));
            Global.DbManager.LoadDb(CacheConfig.Get(CacheConfig.ID2NAME));
            Global.DbManager.LoadDb(CacheConfig.Get(CacheConfig.ADDR2EXTADDR));

            var assembly = typeof(Global).Assembly;

            Log.Info(assembly.FullName.Replace("Server.App", "Fenix.Runtime").Replace("Client.App", "Fenix.Runtime"));
        }