AppConfig class
Constructors
- AppConfig({int maxClients = 0, bool enableDynamicMaxClients = false, bool disableWebRtc = false, bool disableUdp = false})
-
AppConfig.fromJson(Map<
String, dynamic> json) -
factory
- AppConfig.fromReader(TeleportObjectReader reader)
-
factory
- AppConfig.fromTeleport(Uint8List data)
-
factory
Properties
- disableUdp ↔ bool
-
getter/setter pair
- disableWebRtc ↔ bool
-
getter/setter pair
- enableDynamicMaxClients ↔ bool
-
Whether the server also refuses clients on MEASURED container memory, on top of the
MaxClients count. Off unless an app asks for it: the guard reads absolute occupancy, so an
app whose own resting footprint is already most of its container is refused from its first
client onward, with a message that blames the arrivals.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxClients ↔ int
-
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
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 -
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
- fieldIdDisableUdp → const int
- fieldIdDisableWebRtc → const int
- fieldIdEnableDynamicMaxClients → const int
- fieldIdMaxClients → const int
- teleportOpcode → const int
- teleportVersion → const int