Example #1
0
 private static CASCHandler Open(AsyncAction worker, CASCConfig config)
 {
     return(new CASCHandler(config, worker));
 }
Example #2
0
        public static CASCHandler OpenLocalStorage(string basePath, AsyncAction worker = null)
        {
            CASCConfig config = CASCConfig.LoadLocalStorageConfig(basePath);

            return(Open(worker, config));
        }
Example #3
0
        public static CASCHandler OpenOnlineStorage(string product, AsyncAction worker = null)
        {
            CASCConfig config = CASCConfig.LoadOnlineStorageConfig(product);

            return(Open(worker, config));
        }
Example #4
0
 private CDNIndexHandler(CASCConfig cascConfig, AsyncAction worker)
 {
     CASCConfig  = cascConfig;
     this.worker = worker;
 }