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

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