LevelPolicy class

Policy applied to a specific user level.

Annotations
  • @JsonSerializable.new(includeIfNull: false)

Constructors

LevelPolicy({int? handshake, int? connIdle, int? uplinkOnly, int? downlinkOnly, bool? statsUserUplink, bool? statsUserDownlink, bool? statsUserOnline, int? bufferSize})
const
LevelPolicy.fromJson(Map<String, dynamic> json)
factory

Properties

bufferSize int?
Internal buffer size per request (KB).
final
connIdle int?
Connection idle timeout (seconds). Default: 300.
final
downlinkOnly int?
Timeout after client closes inbound connection (seconds). Default: 5.
final
handshake int?
Handshake timeout (seconds). Default: 4.
final
hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
Enable incoming traffic accounting for this level.
final
statsUserOnline bool?
Enable online user accounting via email.
final
Enable outgoing traffic accounting for this level.
final
uplinkOnly int?
Timeout after remote closes outbound connection (seconds). Default: 2.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Map<String, dynamic>
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited