OnServerStatusPing class
- Implemented types
Constructors
- OnServerStatusPing({Context? serverContext, ServerStatus status = ServerStatus.unknown, int userCount = 0, int clientCount = 0, int humanClientCount = 0, int idleTimeInSeconds = 0, double sentMessagesPerSecond = 0.0, double sentMessagesBandwidth = 0.0, int sentMessagesCount = 0, double receivedMessagesPerSecond = 0.0, double receivedMessagesBandwidth = 0.0, int receivedMessagesCount = 0, double processCpuUsage = 0.0, double processMemoryUsedMb = 0.0, double managedMemoryUsedMb = 0.0, String memoryInfo = '', bool isDoingBackgroundWork = false, String ikonServerVersion = '', int maxClients = 0, int managedOomCount = 0})
-
OnServerStatusPing.fromJson(Map<
String, dynamic> json) -
factory
- OnServerStatusPing.fromReader(TeleportObjectReader reader)
-
factory
- OnServerStatusPing.fromTeleport(Uint8List data)
-
factory
Properties
- clientCount ↔ int
-
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- humanClientCount ↔ int
-
getter/setter pair
- idleTimeInSeconds ↔ int
-
getter/setter pair
- ikonServerVersion ↔ String
-
The running ikon server binary's own version (Ikon.Server.BuildVersion.VersionString), so the backend
can record which server version actually served a session rather than inferring it from provisioning.
getter/setter pair
- isDoingBackgroundWork ↔ bool
-
getter/setter pair
- managedMemoryUsedMb ↔ double
-
getter/setter pair
- managedOomCount ↔ int
-
The OutOfMemoryExceptions the process has thrown since it started, the ones it survived included. A
burst within a second counts once. The backend keeps it on the app session as a sign that the app needs
more memory than its server has. 0 from a server built before it reported one.
getter/setter pair
- maxClients ↔ int
-
The client limit the server admits up to, from wherever it took it (docs/private/specs/scaling-spec.md).
Placement fills a shard no further than it, and takes it as the shard's size when the bundle names no
MaxClients. 0 from a server built before it reported one.
getter/setter pair
- memoryInfo ↔ String
-
getter/setter pair
- processCpuUsage ↔ double
-
getter/setter pair
- processMemoryUsedMb ↔ double
-
getter/setter pair
- receivedMessagesBandwidth ↔ double
-
getter/setter pair
- receivedMessagesCount ↔ int
-
getter/setter pair
- receivedMessagesPerSecond ↔ double
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- sentMessagesBandwidth ↔ double
-
getter/setter pair
- sentMessagesCount ↔ int
-
getter/setter pair
- sentMessagesPerSecond ↔ double
-
getter/setter pair
- serverContext ↔ Context?
-
getter/setter pair
- status ↔ ServerStatus
-
getter/setter pair
- userCount ↔ int
-
getter/setter pair
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toJson(
) → Map< String, dynamic> -
toProtocolMessage(
int senderId, {ProtocolMessageOverrides? overrides}) → ProtocolMessage -
Frames the message under its type's opcode and payload version. The type's default flags
(unreliable for an unreliable message) are added to
overrides' own.override -
toString(
) → String -
A string representation of this object.
inherited
-
toTeleport(
) → Uint8List -
writeTo(
TeleportObjectWriter scope) → void
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- fieldIdClientCount → const int
- fieldIdHumanClientCount → const int
- fieldIdIdleTimeInSeconds → const int
- fieldIdIkonServerVersion → const int
- fieldIdIsDoingBackgroundWork → const int
- fieldIdManagedMemoryUsedMb → const int
- fieldIdManagedOomCount → const int
- fieldIdMaxClients → const int
- fieldIdMemoryInfo → const int
- fieldIdProcessCpuUsage → const int
- fieldIdProcessMemoryUsedMb → const int
- fieldIdReceivedMessagesBandwidth → const int
- fieldIdReceivedMessagesCount → const int
- fieldIdReceivedMessagesPerSecond → const int
- fieldIdSentMessagesBandwidth → const int
- fieldIdSentMessagesCount → const int
- fieldIdSentMessagesPerSecond → const int
- fieldIdServerContext → const int
- fieldIdStatus → const int
- fieldIdUserCount → const int
-
teleportMessageType
→ const TeleportMessageType<
OnServerStatusPing> - teleportOpcode → const int
- teleportVersion → const int