EvtLocalProtocolsUpdated class
EvtLocalProtocolsUpdated should be emitted when stream handlers are attached or detached from the local host. For handlers attached with a matcher predicate (host.setStreamHandlerMatch()), only the protocol ID will be included in this event.
Constructors
-
EvtLocalProtocolsUpdated.new({required List<
ProtocolID> added, required List<ProtocolID> removed}) - Creates a new EvtLocalProtocolsUpdated event.
Properties
-
added
→ List<
ProtocolID> -
Added enumerates the protocols that were added locally.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
-
removed
→ List<
ProtocolID> -
Removed enumerates the protocols that were removed locally.
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