SshRekeyPolicy class

Constructors

SshRekeyPolicy({int? maxPackets = 1 << 20, int? maxBytes = 1 << 30, Duration? maxDuration = const Duration(hours: 1)})
const
SshRekeyPolicy.disabled()
const

Properties

hashCode int
The hash code for this object.
no setterinherited
maxBytes int?
final
maxDuration Duration?
final
maxPackets int?
final
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
shouldRekey({required int sentPackets, required int receivedPackets, required int sentBytes, required int receivedBytes, required Duration elapsed}) bool
toString() String
A string representation of this object.
inherited

Operators

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