ClientStats Class |
Namespace: Crosser.Common.Server.Protocol
public class ClientStats
The ClientStats type exposes the following members.
| Name | Description | |
|---|---|---|
| ClientStats | Initializes a new instance of the ClientStats class |
| Name | Description | |
|---|---|---|
| Connected |
DateTime when the client connected
| |
| FailedPings |
Number of failed pings since last successful ping
| |
| Interactive |
Is the client in Interactive mode
| |
| IP |
Client IP address
| |
| Language |
The language the client was written in
| |
| LastPing |
Last ping sent to the client
| |
| LastPong |
Last pong received from the client
| |
| Latency | ||
| Version |
Version of the client software
|
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
| Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
| GetType | Gets the Type of the current instance. (Inherited from Object.) | |
| IncreaseIn |
Increase the number of bytes and messages received from this client
| |
| IncreaseOut |
Increase the number of bytes and messages sent to this client
| |
| MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
| SetPendingBytes |
Update the number of pending bytes for the connection
| |
| SetPendingMessages |
Update the number of pending messages for the client
| |
| ToString |
Build the current client statistics as a JSON string
(Overrides ObjectToString.) |