PeerAddrs class

A collection of peer addresses.

Constructors

PeerAddrs.new()

Properties

hashCode int
The hash code for this object.
no setterinherited
isEmpty bool
no setter
length int
no setter
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

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