C# 클래스 org.GraphDefined.Vanaheimr.Styx.Sensors.PerformanceCounters.NetworkInterfaceCounters.TransmissionsStruct

A struct collecting received and sent packets and bytes.
파일 보기 프로젝트 열기: Vanaheimr/Styx

공개 프로퍼티들

프로퍼티 타입 설명
BytesReceived System.UInt64
BytesSent System.UInt64
PacketsReceived System.UInt64
PacketsSent System.UInt64

공개 메소드들

메소드 설명
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.

메소드 상세

ToString() 공개 메소드

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

TransmissionsStruct() 공개 메소드

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.
리턴 System

TransmissionsStruct() 공개 메소드

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.
리턴 System

프로퍼티 상세

BytesReceived 공개적으로 프로퍼티

The bytes received.
public UInt64,System BytesReceived
리턴 System.UInt64

BytesSent 공개적으로 프로퍼티

The bytes sent.
public UInt64,System BytesSent
리턴 System.UInt64

PacketsReceived 공개적으로 프로퍼티

The packets received.
public UInt64,System PacketsReceived
리턴 System.UInt64

PacketsSent 공개적으로 프로퍼티

The packets sent.
public UInt64,System PacketsSent
리턴 System.UInt64