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

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