public EncryptionServiceListener(ICacheNotify <EncryptionSettingsProto> notifySettings, ICacheNotify <EncryptionStop> notifyStop, EncryptionWorker encryptionWorker) { NotifySettings = notifySettings; NotifyStop = notifyStop; EncryptionWorker = encryptionWorker; }
public double GetProgress() { var progress = (ProgressBase)EncryptionWorker.GetProgress(); return(progress != null ? progress.Percentage : -1); }
public void Stop() { EncryptionWorker.Stop(); }
public void Start(EncryptionSettings encryptionSettings, string serverRootPath) { EncryptionWorker.Start(encryptionSettings, serverRootPath); }