Click or drag to resize

TransportStatistics Class

A class for statistics related to server-client communication.
Inheritance Hierarchy
SystemObject
  GSF.CommunicationTransportStatistics

Namespace: GSF.Communication
Assembly: GSF.Communication (in GSF.Communication.dll) Version: 2.4.181-beta
Syntax
public class TransportStatistics
View Source

The TransportStatistics type exposes the following members.

Constructors
 NameDescription
Public methodTransportStatisticsInitializes a new instance of the TransportStatistics class
Top
Methods
 NameDescription
Public methodEqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
Public methodGetHashCodeServes as the default hash function.
(Inherited from Object)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Protected methodMemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
Public methodReset Resets the TransportStatistics.
Public methodToStringReturns a string that represents the current object.
(Inherited from Object)
Public methodUpdateBytesReceived Updates statistics related to receiving of data.
Public methodUpdateBytesSent Updates statistics related to sending of data.
Top
Fields
 NameDescription
Public fieldLastBytesReceived Number of bytes received in the last receive operation.
Public fieldLastBytesSent Number of bytes sent in the last send operation.
Public fieldLastReceiveDateTime of the last receive operation. (UTC Time)
Public fieldLastSendDateTime of the last send operation. (UTC Time)
Public fieldTotalBytesReceived Total number of bytes received.
Public fieldTotalBytesSent Total number of bytes sent.
Top
Extension Methods
 NameDescription
Public Extension MethodGetEnumValueOrDefault Gets the enumeration constant for value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Public Extension MethodGetEnumValueOrDefaultT Gets the enumeration constant for this value, if defined in the enumeration, or a default value.
(Defined by EnumExtensions)
Top
See Also