discovery library

Transport-neutral peer discovery.

A transport implements IDiscovery over whatever mechanism it has, and the coordination layer only ever speaks DiscoveryQuery and PeerDescriptor.

Classes

AlwaysMatch
Matches every peer.
AndQuery
Conjunction. An empty terms matches everything.
DiscoveryEvent
Something a discovery instance reports.
DiscoveryQuery
A transport-neutral peer filter.
DiscoveryTimeoutEvent
A bounded discovery gave up before finding what it was asked for.
FieldMatch
Compares one PeerField against value.
IDiscovery
Finds peers on the network.
NotQuery
Negation.
OrQuery
Disjunction. An empty terms matches nothing.
PeerDescriptor
A peer discovered on the network, described in transport-neutral terms.
PeerHandle
A discovered peer, together with whatever transport-owned resource is needed to actually connect to it.
PeerQueries
Builders for the queries the coordination layer actually issues.
PeersDiscoveredEvent
One or more peers matched.

Enums

MatchOp
How a FieldMatch compares a field to its value.
PeerField
A field of a PeerDescriptor that a DiscoveryQuery can filter on.