NatBehaviorTracker constructor

NatBehaviorTracker({
  1. required StunClientPool stunClientPool,
  2. StorageBroker? storageBroker,
  3. NetworkInterfaceMonitor? networkInterfaceMonitor,
  4. String storageKey = 'nat_behavior',
  5. Duration checkInterval = const Duration(minutes: 30),
  6. int maxHistorySize = 100,
})

Creates a new NAT behavior tracker

Implementation

NatBehaviorTracker({
  required this.stunClientPool,
  this.storageBroker,
  this.networkInterfaceMonitor,
  this.storageKey = 'nat_behavior',
  this.checkInterval = const Duration(minutes: 30),
  this.maxHistorySize = 100,
});