C# Class OctoTorrent.Common.SpeedMonitor

Exibir arquivo Open project: Eskat0n/OctoTorrent Class Usage Examples

Public Methods

Method Description
AddDelta ( int speed ) : void
AddDelta ( long speed ) : void
Reset ( ) : void
SpeedMonitor ( ) : System
SpeedMonitor ( int averagingPeriod ) : System
Tick ( ) : void

Private Methods

Method Description
Tick ( int difference ) : void
TimePeriodPassed ( int difference ) : void

Method Details

AddDelta() public method

public AddDelta ( int speed ) : void
speed int
return void

AddDelta() public method

public AddDelta ( long speed ) : void
speed long
return void

Reset() public method

public Reset ( ) : void
return void

SpeedMonitor() public method

public SpeedMonitor ( ) : System
return System

SpeedMonitor() public method

public SpeedMonitor ( int averagingPeriod ) : System
averagingPeriod int
return System

Tick() public method

public Tick ( ) : void
return void