PeerAddrs class
A collection of peer addresses.
Constructors
Properties
Methods
-
containsKey(
String peerKey) → Future< bool> -
delete(
ExpiringAddr a) → Future< void> -
findAddr(
PeerId p, MultiAddr addr) → Future< ExpiringAddr?> -
getKeys(
) → Future< List> -
getPeerKeys(
String peerKey) → Future< Map< String, ExpiringAddr> ?> -
getPeerKeyValues(
String peerKey) → Future< List< ExpiringAddr> ?> -
insert(
ExpiringAddr a) → Future< void> -
nextExpiry(
) → DateTime -
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
numUnconnectedAddrs(
) → int -
pop(
) → Future< ExpiringAddr> -
popIfExpired(
DateTime now) → Future< ExpiringAddr?> -
push(
ExpiringAddr a) → Future< void> -
remove(
int index) → Future< void> -
toString(
) → String -
A string representation of this object.
inherited
-
update(
ExpiringAddr a) → Future< void>
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited