C# Class Telemachus.UpLinkDownLinkRate

Mostra file Open project: KSP-Telemachus/Telemachus Class Usage Examples

Public Methods

Method Description
RecieveDataFromClient ( int bytes ) : void

Add a data point for bytes recieved from the client (UPlink)

SendDataToClient ( int bytes ) : void

Add a data point for bytes sent to the client (DOWNlink)

UpLinkDownLinkRate ( ) : System
UpLinkDownLinkRate ( int averageSize ) : System
getDownLinkRate ( ) : double
getUpLinkRate ( ) : double

Private Methods

Method Description
addGuardedPoint ( System.DateTime time, int bytes, int>.LinkedList rate ) : void
average ( int>.LinkedList rate ) : double

Method Details

RecieveDataFromClient() public method

Add a data point for bytes recieved from the client (UPlink)
public RecieveDataFromClient ( int bytes ) : void
bytes int
return void

SendDataToClient() public method

Add a data point for bytes sent to the client (DOWNlink)
public SendDataToClient ( int bytes ) : void
bytes int
return void

UpLinkDownLinkRate() public method

public UpLinkDownLinkRate ( ) : System
return System

UpLinkDownLinkRate() public method

public UpLinkDownLinkRate ( int averageSize ) : System
averageSize int
return System

getDownLinkRate() public method

public getDownLinkRate ( ) : double
return double

getUpLinkRate() public method

public getUpLinkRate ( ) : double
return double