Interface IPeerDiscovery
Describes a service that finds a peer.
Namespace: PeerTalk.Discovery
Assembly: PeerTalk.dll
Syntax
public interface IPeerDiscovery : IService
Remarks
All discovery services must raise the PeerDiscovered event.
Events
| Improve this Doc View SourcePeerDiscovered
Raised when a peer is discovered.
Declaration
event EventHandler<Peer> PeerDiscovered
Event Type
Type | Description |
---|---|
EventHandler<Peer> |
Remarks
The peer must contain at least one MultiAddress. The address must end with the ipfs protocol and the public ID of the peer. For example "/ip4/104.131.131.82/tcp/4001/ipfs/QmaCpDMGvV2BGHeYERUEnRQAwe3N8SzbUtfsmvsqQLuvuJ"