ProtonNet Server 1.0
An Open Solution for all your socket or web api needs.
Loading...
Searching...
No Matches
XmobiTea.ProtonNetCommon.ChangeNetworkStatistics Class Reference

Class that implements IChangeNetworkStatistics, providing methods to modify and retrieve network statistics. More...

Inheritance diagram for XmobiTea.ProtonNetCommon.ChangeNetworkStatistics:
XmobiTea.ProtonNetCommon.NetworkStatistics XmobiTea.ProtonNetCommon.IChangeNetworkStatistics XmobiTea.ProtonNetCommon.INetworkStatistics XmobiTea.ProtonNetCommon.INetworkStatistics

Public Member Functions

void ChangeBytesSent (long amount)
 Increases the number of bytes sent by the specified amount.
 
void ChangeBytesReceived (long amount)
 Increases the number of bytes received by the specified amount.
 
void ChangeBytesPending (long amount)
 Increases the number of bytes pending by the specified amount.
 
void ChangeBytesSending (long amount)
 Increases the number of bytes being sent by the specified amount.
 
void SetBytesSent (long newValue)
 Sets the total number of bytes sent to the specified value.
 
void SetBytesReceived (long newValue)
 Sets the total number of bytes received to the specified value.
 
void SetBytesPending (long newValue)
 Sets the total number of bytes pending to the specified value.
 
void SetBytesSending (long newValue)
 Sets the total number of bytes being sent to the specified value.
 
void IncPacketSent ()
 Increments the total number of packets sent by one.
 
void IncPacketReceived ()
 Increments the total number of packets received by one.
 
void Reset ()
 Resets all network statistics to zero.
 
- Public Member Functions inherited from XmobiTea.ProtonNetCommon.NetworkStatistics
long GetBytesSent ()
 Gets the total number of bytes sent.
 
long GetBytesReceived ()
 Gets the total number of bytes received.
 
long GetBytesPending ()
 Gets the total number of bytes pending to be sent.
 
long GetBytesSending ()
 Gets the total number of bytes currently being sent.
 
long GetPacketSent ()
 Gets the total number of packets sent.
 
long GetPacketReceived ()
 Gets the total number of packets received.
 
- Public Member Functions inherited from XmobiTea.ProtonNetCommon.INetworkStatistics
- Public Member Functions inherited from XmobiTea.ProtonNetCommon.IChangeNetworkStatistics

Additional Inherited Members

- Protected Attributes inherited from XmobiTea.ProtonNetCommon.NetworkStatistics
long bytesSent
 Total number of bytes sent.
 
long bytesReceived
 Total number of bytes received.
 
long bytesPending
 Total number of bytes pending to be sent.
 
long bytesSending
 Total number of bytes currently being sent.
 
long packetSent
 Total number of packets sent.
 
long packetReceived
 Total number of packets received.
 

Detailed Description

Class that implements IChangeNetworkStatistics, providing methods to modify and retrieve network statistics.

Member Function Documentation

◆ ChangeBytesPending()

void XmobiTea.ProtonNetCommon.ChangeNetworkStatistics.ChangeBytesPending ( long amount)

Increases the number of bytes pending by the specified amount.

Implements XmobiTea.ProtonNetCommon.IChangeNetworkStatistics.

◆ ChangeBytesReceived()

void XmobiTea.ProtonNetCommon.ChangeNetworkStatistics.ChangeBytesReceived ( long amount)

Increases the number of bytes received by the specified amount.

Implements XmobiTea.ProtonNetCommon.IChangeNetworkStatistics.

◆ ChangeBytesSending()

void XmobiTea.ProtonNetCommon.ChangeNetworkStatistics.ChangeBytesSending ( long amount)

Increases the number of bytes being sent by the specified amount.

Implements XmobiTea.ProtonNetCommon.IChangeNetworkStatistics.

◆ ChangeBytesSent()

void XmobiTea.ProtonNetCommon.ChangeNetworkStatistics.ChangeBytesSent ( long amount)

Increases the number of bytes sent by the specified amount.

Implements XmobiTea.ProtonNetCommon.IChangeNetworkStatistics.

◆ IncPacketReceived()

void XmobiTea.ProtonNetCommon.ChangeNetworkStatistics.IncPacketReceived ( )

Increments the total number of packets received by one.

Implements XmobiTea.ProtonNetCommon.IChangeNetworkStatistics.

◆ IncPacketSent()

void XmobiTea.ProtonNetCommon.ChangeNetworkStatistics.IncPacketSent ( )

Increments the total number of packets sent by one.

Implements XmobiTea.ProtonNetCommon.IChangeNetworkStatistics.

◆ Reset()

void XmobiTea.ProtonNetCommon.ChangeNetworkStatistics.Reset ( )

Resets all network statistics to zero.

Implements XmobiTea.ProtonNetCommon.IChangeNetworkStatistics.

◆ SetBytesPending()

void XmobiTea.ProtonNetCommon.ChangeNetworkStatistics.SetBytesPending ( long newValue)

Sets the total number of bytes pending to the specified value.

Implements XmobiTea.ProtonNetCommon.IChangeNetworkStatistics.

◆ SetBytesReceived()

void XmobiTea.ProtonNetCommon.ChangeNetworkStatistics.SetBytesReceived ( long newValue)

Sets the total number of bytes received to the specified value.

Implements XmobiTea.ProtonNetCommon.IChangeNetworkStatistics.

◆ SetBytesSending()

void XmobiTea.ProtonNetCommon.ChangeNetworkStatistics.SetBytesSending ( long newValue)

Sets the total number of bytes being sent to the specified value.

Implements XmobiTea.ProtonNetCommon.IChangeNetworkStatistics.

◆ SetBytesSent()

void XmobiTea.ProtonNetCommon.ChangeNetworkStatistics.SetBytesSent ( long newValue)

Sets the total number of bytes sent to the specified value.

Implements XmobiTea.ProtonNetCommon.IChangeNetworkStatistics.


The documentation for this class was generated from the following file: