C# Class Universe.Modules.Monitoring.Monitors.NetworkMonitor

Inheritance: INetworkMonitor
显示文件 Open project: Virtual-Universe/Virtual-Universe

Public Methods

Method Description
AddInPackets ( int numPackets ) : void
AddOutPackets ( int numPackets ) : void
AddPacketsStats ( int inPackets, int outPackets, int unAckedBytes ) : void
AddPendingDownloads ( int count ) : void
AddPendingUploads ( int count ) : void
AddUnackedBytes ( int numBytes ) : void
GetFriendlyValue ( ) : string
GetInterfaceName ( ) : string
GetName ( ) : string
GetValue ( ) : double
NetworkMonitor ( IScene scene ) : Universe.Framework.Modules
ResetStats ( ) : void

Protected Methods

Method Description
OnClosingClient ( IClientAPI client ) : void
OnNewClient ( IClientAPI client ) : void

Method Details

AddInPackets() public method

public AddInPackets ( int numPackets ) : void
numPackets int
return void

AddOutPackets() public method

public AddOutPackets ( int numPackets ) : void
numPackets int
return void

AddPacketsStats() public method

public AddPacketsStats ( int inPackets, int outPackets, int unAckedBytes ) : void
inPackets int
outPackets int
unAckedBytes int
return void

AddPendingDownloads() public method

public AddPendingDownloads ( int count ) : void
count int
return void

AddPendingUploads() public method

public AddPendingUploads ( int count ) : void
count int
return void

AddUnackedBytes() public method

public AddUnackedBytes ( int numBytes ) : void
numBytes int
return void

GetFriendlyValue() public method

public GetFriendlyValue ( ) : string
return string

GetInterfaceName() public method

public GetInterfaceName ( ) : string
return string

GetName() public method

public GetName ( ) : string
return string

GetValue() public method

public GetValue ( ) : double
return double

NetworkMonitor() public method

public NetworkMonitor ( IScene scene ) : Universe.Framework.Modules
scene IScene
return Universe.Framework.Modules

OnClosingClient() protected method

protected OnClosingClient ( IClientAPI client ) : void
client IClientAPI
return void

OnNewClient() protected method

protected OnNewClient ( IClientAPI client ) : void
client IClientAPI
return void

ResetStats() public method

public ResetStats ( ) : void
return void