PeersDiscoveredEvent class final
One or more peers matched.
Only emitted for non-empty results, matching the original LSL behaviour: a resolve cycle that finds nothing is silent rather than emitting an empty list.
- Inheritance
-
- Object
- DiscoveryEvent
- PeersDiscoveredEvent
Constructors
-
PeersDiscoveredEvent(DiscoveryQuery query, List<
PeerHandle> peers) -
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
-
peers
→ List<
PeerHandle> -
The matched peers. Ownership stays with discovery until PeerHandle.take.
final
- query → DiscoveryQuery
-
The query that produced this event.
finalinherited
- 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.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited