コード例 #1
0
        public FileTransferingViewer()
        {
            InitializeComponent();

            this.agileCycleEngine = new AgileCycleEngine(this);
            this.agileCycleEngine.DetectSpanInSecs = 1;
            this.agileCycleEngine.Start();

            this.FileResumedTransStarted += delegate { };
            this.FileTransCompleted += delegate { };
            this.FileTransDisruptted += delegate { };
            this.FileTransStarted += delegate { };
            this.AllTaskFinished += delegate { };
        }
コード例 #2
0
        public void Initialize()
        {
            if (this.refreshSpanInSecs <= 0)
            {
                throw new Exception("RefreshSpanInSecs Property must be greater than 0 !");
            }

            foreach (IRefreshableCache cache in this.cacheList)
            {
                cache.LastRefreshTime = DateTime.Now;
            }

            this.agileCycleEngine = new AgileCycleEngine(this);
            this.agileCycleEngine.DetectSpanInSecs = 1;            
            this.agileCycleEngine.Start();     
         }
コード例 #3
0
 public DynamicGroupHandler()
 {
     this.notifyEngine = new AgileCycleEngine(this);
     this.notifyEngine.DetectSpanInSecs = 0;
 }