NatBehaviorDiscovery class

A class for discovering NAT behavior according to RFC 5780

Constructors

NatBehaviorDiscovery.new({required StunClient stunClient})
Creates a new NAT behavior discovery instance

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
stunClient StunClient
The STUN client to use for discovery
final

Methods

discoverBehavior() Future<NatBehavior>
Discovers comprehensive NAT behavior
discoverBehaviorBasic() Future<NatBehavior>
Discovers comprehensive NAT behavior using basic STUN tests
discoverFilteringBehavior() Future<NatFilteringBehavior>
Discovers the NAT filtering behavior
discoverFilteringBehaviorBasic() Future<NatFilteringBehavior>
Discovers the NAT filtering behavior using basic STUN tests
discoverMappingBehavior() Future<NatMappingBehavior>
Discovers the NAT mapping behavior
discoverMappingBehaviorBasic() Future<NatMappingBehavior>
Discovers the NAT mapping behavior using basic STUN tests
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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