ProtonNet Server 1.0
An Open Solution for all your socket or web api needs.
|
Class that implements IChangeNetworkStatistics, providing methods to modify and retrieve network statistics. More...
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. | |
Class that implements IChangeNetworkStatistics, providing methods to modify and retrieve network statistics.
void XmobiTea.ProtonNetCommon.ChangeNetworkStatistics.ChangeBytesPending | ( | long | amount | ) |
Increases the number of bytes pending by the specified amount.
Implements XmobiTea.ProtonNetCommon.IChangeNetworkStatistics.
void XmobiTea.ProtonNetCommon.ChangeNetworkStatistics.ChangeBytesReceived | ( | long | amount | ) |
Increases the number of bytes received by the specified amount.
Implements XmobiTea.ProtonNetCommon.IChangeNetworkStatistics.
void XmobiTea.ProtonNetCommon.ChangeNetworkStatistics.ChangeBytesSending | ( | long | amount | ) |
Increases the number of bytes being sent by the specified amount.
Implements XmobiTea.ProtonNetCommon.IChangeNetworkStatistics.
void XmobiTea.ProtonNetCommon.ChangeNetworkStatistics.ChangeBytesSent | ( | long | amount | ) |
Increases the number of bytes sent by the specified amount.
Implements XmobiTea.ProtonNetCommon.IChangeNetworkStatistics.
void XmobiTea.ProtonNetCommon.ChangeNetworkStatistics.IncPacketReceived | ( | ) |
Increments the total number of packets received by one.
Implements XmobiTea.ProtonNetCommon.IChangeNetworkStatistics.
void XmobiTea.ProtonNetCommon.ChangeNetworkStatistics.IncPacketSent | ( | ) |
Increments the total number of packets sent by one.
Implements XmobiTea.ProtonNetCommon.IChangeNetworkStatistics.
void XmobiTea.ProtonNetCommon.ChangeNetworkStatistics.Reset | ( | ) |
Resets all network statistics to zero.
Implements XmobiTea.ProtonNetCommon.IChangeNetworkStatistics.
void XmobiTea.ProtonNetCommon.ChangeNetworkStatistics.SetBytesPending | ( | long | newValue | ) |
Sets the total number of bytes pending to the specified value.
Implements XmobiTea.ProtonNetCommon.IChangeNetworkStatistics.
void XmobiTea.ProtonNetCommon.ChangeNetworkStatistics.SetBytesReceived | ( | long | newValue | ) |
Sets the total number of bytes received to the specified value.
Implements XmobiTea.ProtonNetCommon.IChangeNetworkStatistics.
void XmobiTea.ProtonNetCommon.ChangeNetworkStatistics.SetBytesSending | ( | long | newValue | ) |
Sets the total number of bytes being sent to the specified value.
Implements XmobiTea.ProtonNetCommon.IChangeNetworkStatistics.
void XmobiTea.ProtonNetCommon.ChangeNetworkStatistics.SetBytesSent | ( | long | newValue | ) |
Sets the total number of bytes sent to the specified value.
Implements XmobiTea.ProtonNetCommon.IChangeNetworkStatistics.