Interface IPeerMesh
Provides local view of peer mesh.
Namespace: DotNext.Net
Assembly: DotNext.Net.Cluster.dll
Syntax
public interface IPeerMesh
Properties
| Edit this page View SourcePeers
Gets a collection of visible peers.
Declaration
IReadOnlySet<EndPoint> Peers { get; }
Property Value
Type | Description |
---|---|
IReadOnlySet<EndPoint> |
Events
| Edit this page View SourcePeerDiscovered
An event raised when a new remote peer has been discovered.
Declaration
event Action<IPeerMesh, PeerEventArgs> PeerDiscovered
Event Type
Type | Description |
---|---|
Action<IPeerMesh, PeerEventArgs> |
Remarks
The implementing class guarantees strong order of PeerDiscovered and PeerGone events (in terms of local clock).
PeerGone
An event raised when the visible neighbor becomes unavailable.
Declaration
event Action<IPeerMesh, PeerEventArgs> PeerGone
Event Type
Type | Description |
---|---|
Action<IPeerMesh, PeerEventArgs> |
Remarks
The implementing class guarantees strong order of PeerDiscovered and PeerGone events (in terms of local clock).