EvtPeerProtocolsUpdated class

EvtPeerProtocolsUpdated should be emitted when a peer we're connected to adds or removes protocols from their stack.

Constructors

EvtPeerProtocolsUpdated({required PeerId peer, required List<ProtocolID> added, required List<ProtocolID> removed})
Creates a new EvtPeerProtocolsUpdated event.

Properties

added → List<ProtocolID>
Added enumerates the protocols that were added by this peer.
final
hashCode → int
The hash code for this object.
no setterinherited
peer → PeerId
Peer is the peer whose protocols were updated.
final
removed → List<ProtocolID>
Removed enumerates the protocols that were removed by this peer.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

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

Operators

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