public EncryptionServiceListener(ICacheNotify <EncryptionSettingsProto> notifySettings, ICacheNotify <EncryptionStop> notifyStop, EncryptionWorker encryptionWorker)
 {
     NotifySettings   = notifySettings;
     NotifyStop       = notifyStop;
     EncryptionWorker = encryptionWorker;
 }
Exemple #2
0
        public double GetProgress()
        {
            var progress = (ProgressBase)EncryptionWorker.GetProgress();

            return(progress != null ? progress.Percentage : -1);
        }
Exemple #3
0
 public void Stop()
 {
     EncryptionWorker.Stop();
 }
Exemple #4
0
 public void Start(EncryptionSettings encryptionSettings, string serverRootPath)
 {
     EncryptionWorker.Start(encryptionSettings, serverRootPath);
 }