HolePunchTracer class abstract
Tracer for the holepuncher
- Implementers
- Available extensions
Constructors
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
-
close(
) → void - Closes the tracer
-
close(
) → void -
Available on HolePunchTracer, provided by the HolePunchTracerExt extension
Closes the tracer -
directDialFailed(
PeerId peerId, Duration dt, Object err) → void - Called when a direct dial fails
-
directDialSuccessful(
PeerId peerId, Duration dt) → void - Called when a direct dial is successful
-
endHolePunch(
PeerId peerId, Duration dt, Object? err) → void - Called when a hole punch ends
-
holePunchAttempt(
PeerId peerId) → void - Called when a hole punch attempt is made
-
holePunchFinished(
String side, int attempts, List< MultiAddr> addrs, List<MultiAddr> obsAddrs, Conn? conn) → void - Called when a hole punch finishes
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
protocolError(
PeerId peerId, Object err) → void - Called when a protocol error occurs
-
startHolePunch(
PeerId peerId, List< MultiAddr> addrs, int rtt) → void - Called when a hole punch starts
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited