NatTraversalStrategy class

A class that provides NAT traversal strategy selection based on NAT type

Constructors

NatTraversalStrategy.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
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
toString() String
A string representation of this object.
inherited

Operators

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

Static Methods

getStrategyDescription(TraversalStrategy strategy) String
Returns a description of the traversal strategy
selectPeerStrategy(NatBehavior localBehavior, NatBehavior remoteBehavior) TraversalStrategy
Selects the appropriate traversal strategy for a connection between two peers
selectStrategy(NatBehavior localBehavior) TraversalStrategy
Selects the appropriate traversal strategy based on the local NAT behavior