Example #1
0
        protected override void OnStop()
        {
            this.apiClient = null;

            // Send an update with zero transfer rate, since that's what we're now doing
            this.Update(this.prevConnections);
        }
Example #2
0
 protected override void OnStart()
 {
     this.apiClient       = this.apiClientWrapper.Value;
     this.prevConnections = null;
 }
Example #3
0
 protected override void OnStop()
 {
     this.apiClient = null;
 }
Example #4
0
 protected override void OnStart()
 {
     this.lastEventId = 0;
     this.apiClient   = this.apiClientWrapper.Value;
 }
 protected override void OnStop()
 {
     this.apiClient = null;
 }
 protected override void OnStart()
 {
     this.apiClient = this.apiClientWrapper.Value;
 }