Пример #1
0
 public ResLoadMgr(BinLoadMgr binLoadMgr, VerMgr verMgr)
 {
     this.binLoadMgr = binLoadMgr;
     this.verMgr     = verMgr;
     waitList        = new List <LoadItem>();
     okBackList      = new Dictionary <string, IList <LoadFinishBack> >();
     errorBackList   = new Dictionary <string, IList <LoadFinishBack> >();
 }
Пример #2
0
 /**初始化化远程加载器**/
 public void initBinLoadMgr(BinLoadMgr binLoadMgr)
 {
     if (this.binLoadMgr == null)
     {
         this.binLoadMgr              = binLoadMgr;
         this.binLoadMgr.loadback     = loadCompleteHandler;
         this.binLoadMgr.errorback    = loadErrorHandler;
         this.binLoadMgr.progressback = loadProgressHandler;
         resLoadMgr = new ResLoadMgr(binLoadMgr, versionMgr);
     }
 }