Interface IPeerMesh<TPeer>
Provides local view of peer mesh.
Namespace: DotNext.Net
Assembly: DotNext.Net.Cluster.dll
Syntax
public interface IPeerMesh<out TPeer> : IPeerMesh where TPeer : class, IPeer
Type Parameters
| Name | Description |
|---|---|
| TPeer | The type that represents the peer client. |
Methods
| Edit this page View SourceTryGetPeer(EndPoint)
Gets a client used to communicate with a remote peer.
Declaration
TPeer? TryGetPeer(EndPoint peer)
Parameters
| Type | Name | Description |
|---|---|---|
| EndPoint | peer | The address of the peer. |
Returns
| Type | Description |
|---|---|
| TPeer | The peer client; or null if the specified peer is not visible from the current peer. |
Exceptions
| Type | Condition |
|---|---|
| ArgumentNullException |
|