ExpiringAddr class

An address with an expiration time.

Constructors

ExpiringAddr.new({required MultiAddr addr, required Duration ttl, required DateTime expiry, required PeerId peer})

Properties

addr MultiAddr
final
expiry DateTime
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
heapIndex int
getter/setter pair
peer PeerId
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
ttl Duration
getter/setter pair

Methods

expiredBy(DateTime t) bool
isConnected() bool
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

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