public DeliveryCacheDirectoryService(BcatServer server, DeliveryCacheStorageService parent, ulong applicationId, AccessControl accessControl) { Server = server; Parent = parent; ApplicationId = applicationId; Access = accessControl; }
private Result CreateDeliveryCacheStorageServiceImpl(out IDeliveryCacheStorageService service, ApplicationId applicationId) { UnsafeHelpers.SkipParamInit(out service); Result rc = Server.GetStorageManager().Open(applicationId.Value); if (rc.IsFailure()) { return(rc); } // todo: Check if network account required service = new DeliveryCacheStorageService(Server, applicationId.Value, AccessControl); return(Result.Success); }