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

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