AutoNATv2ClientImpl class

Client implementation for AutoNAT v2

Implemented types

Constructors

AutoNATv2ClientImpl.new(Host host, {MultiAddr normalizeMultiaddr(MultiAddr)?})

Properties

hashCode int
The hash code for this object.
no setterinherited
host Host
final
normalizeMultiaddr MultiAddr Function(MultiAddr)
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

close() → void
Close the client
override
getReachability(PeerId peerId, List<Request> requests) Future<Result>
Check reachability for the given addresses with a specific peer
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
start() → void
Start the client
override
toString() String
A string representation of this object.
inherited

Operators

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

Constants

dialBackMaxMsgSize → const int
Maximum dial-back message size
dialBackStreamTimeout → const Duration
Dial-back stream timeout
maxMsgSize → const int
Maximum message size
streamTimeout → const Duration
Stream timeout