IDService class abstract
IDService is the interface for the identify service.
- Implementers
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(
) → Future< void> - Close stops the identify service.
-
identifyConn(
Conn conn) → Future< void> - IdentifyConn synchronously triggers an identify request on the connection and waits for it to complete. If the connection is being identified by another caller, this call will wait. If the connection has already been identified, it will return immediately.
-
identifyWait(
Conn conn) → Future< void> - IdentifyWait triggers an identify (if the connection has not already been identified) and returns a future that completes when the identify protocol completes.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
observedAddrsFor(
MultiAddr local) → List< MultiAddr> - ObservedAddrsFor returns the addresses peers have reported we've dialed from, for a specific local address.
-
ownObservedAddrs(
) → List< MultiAddr> - OwnObservedAddrs returns the addresses peers have reported we've dialed from
-
start(
) → Future< void> - Start starts the identify service.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited