Show / Hide Table of Contents

Interface IPeerMesh

Provides local view of peer mesh.

Namespace: DotNext.Net
Assembly: DotNext.Net.Cluster.dll
Syntax
public interface IPeerMesh

Properties

View Source

Peers

Gets a collection of visible peers.

Declaration
IReadOnlySet<EndPoint> Peers { get; }
Property Value
Type Description
IReadOnlySet<EndPoint>

Events

View Source

PeerDiscovered

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).

View Source

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).

Extension Methods

BasicExtensions.As<T>(T)
BasicExtensions.IsBetween<T, TLowerBound, TUpperBound>(T, TLowerBound, TUpperBound)
BasicExtensions.IsOneOf<T>(T, params ReadOnlySpan<T>)
  • View Source
☀
☾
In this article
Back to top
Supported by the .NET Foundation
☀
☾