PeerResolver PeerResolver PeerResolver PeerResolver Class

Definition

Specifies a base type used to define the contract for the registration and resolution of a peer mesh ID to the endpoint addresses of nodes participating in the mesh.

public ref class PeerResolver abstract
public abstract class PeerResolver
type PeerResolver = class
Public MustInherit Class PeerResolver
Inheritance
PeerResolverPeerResolverPeerResolverPeerResolver

Remarks

This class is the base class for the implementation of custom peer name resolvers. A peer name resolver is a discovery service used by peer channels to find peer nodes participating in a peer mesh. It is also used to "register" a node with a peer mesh, the mechanism by which the peer node becomes known and available from the peer mesh.

Constructors

PeerResolver() PeerResolver() PeerResolver() PeerResolver()

Initializes a new instance of the PeerResolver class.

Properties

CanShareReferrals CanShareReferrals CanShareReferrals CanShareReferrals

Gets whether the peer name resolver can share referrals.

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
Initialize(EndpointAddress, Binding, ClientCredentials, PeerReferralPolicy) Initialize(EndpointAddress, Binding, ClientCredentials, PeerReferralPolicy) Initialize(EndpointAddress, Binding, ClientCredentials, PeerReferralPolicy) Initialize(EndpointAddress, Binding, ClientCredentials, PeerReferralPolicy)

Initializes the current peer resolver instance with the new supplied endpoint address and settings.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Register(String, PeerNodeAddress, TimeSpan) Register(String, PeerNodeAddress, TimeSpan) Register(String, PeerNodeAddress, TimeSpan) Register(String, PeerNodeAddress, TimeSpan)

Registers a PeerNodeAddress for a specific peer mesh.

Resolve(String, Int32, TimeSpan) Resolve(String, Int32, TimeSpan) Resolve(String, Int32, TimeSpan) Resolve(String, Int32, TimeSpan)

Resolves the supplied mesh ID to zero or more endpoint addresses of nodes participating in the peer mesh.

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)
Unregister(Object, TimeSpan) Unregister(Object, TimeSpan) Unregister(Object, TimeSpan) Unregister(Object, TimeSpan)

Removes the registration entry for a node from a peer mesh.

Update(Object, PeerNodeAddress, TimeSpan) Update(Object, PeerNodeAddress, TimeSpan) Update(Object, PeerNodeAddress, TimeSpan) Update(Object, PeerNodeAddress, TimeSpan)

Updates the PeerNodeAddress for a node registered with a specific peer mesh.

Applies to