C# Class org.GraphDefined.Vanaheimr.Styx.Sensors.PerformanceCounters.NetworkInterfaceCounters.TransmissionsStruct

A struct collecting received and sent packets and bytes.
Mostrar archivo Open project: Vanaheimr/Styx

Public Properties

Property Type Description
BytesReceived System.UInt64
BytesSent System.UInt64
PacketsReceived System.UInt64
PacketsSent System.UInt64

Public Methods

Method Description
ToString ( ) : String

Converts this TransmissionsStruct to its string representation.

TransmissionsStruct ( System.Single myPacketsReceived, System.Single myPacketsSent, System.Single myBytesReceived, System.Single myBytesSent ) : System

Generates a new TransmissionsStruct based on the given Single values.

TransmissionsStruct ( System.UInt64 myPacketsReceived, System.UInt64 myPacketsSent, System.UInt64 myBytesReceived, System.UInt64 myBytesSent ) : System

Generates a new TransmissionsStruct based on the given UInt64 values.

Method Details

ToString() public method

Converts this TransmissionsStruct to its string representation.
public ToString ( ) : String
return String

TransmissionsStruct() public method

Generates a new TransmissionsStruct based on the given Single values.
public TransmissionsStruct ( System.Single myPacketsReceived, System.Single myPacketsSent, System.Single myBytesReceived, System.Single myBytesSent ) : System
myPacketsReceived System.Single The packets received.
myPacketsSent System.Single The packets sent.
myBytesReceived System.Single The bytes received.
myBytesSent System.Single The bytes sent.
return System

TransmissionsStruct() public method

Generates a new TransmissionsStruct based on the given UInt64 values.
public TransmissionsStruct ( System.UInt64 myPacketsReceived, System.UInt64 myPacketsSent, System.UInt64 myBytesReceived, System.UInt64 myBytesSent ) : System
myPacketsReceived System.UInt64 The packets received.
myPacketsSent System.UInt64 The packets sent.
myBytesReceived System.UInt64 The bytes received.
myBytesSent System.UInt64 The bytes sent.
return System

Property Details

BytesReceived public_oe property

The bytes received.
public UInt64,System BytesReceived
return System.UInt64

BytesSent public_oe property

The bytes sent.
public UInt64,System BytesSent
return System.UInt64

PacketsReceived public_oe property

The packets received.
public UInt64,System PacketsReceived
return System.UInt64

PacketsSent public_oe property

The packets sent.
public UInt64,System PacketsSent
return System.UInt64