CustomPeerResolverService CustomPeerResolverService CustomPeerResolverService CustomPeerResolverService Class

Definition

Warning

This API is now obsolete.

Provides a basic implementation of a custom peer resolver service.

public ref class CustomPeerResolverService : System::ServiceModel::PeerResolvers::IPeerResolverContract
[System.Obsolete("PeerChannel feature is obsolete and will be removed in the future.", false)]
[System.ServiceModel.ServiceBehavior(ConcurrencyMode=System.ServiceModel.ConcurrencyMode.Multiple, InstanceContextMode=System.ServiceModel.InstanceContextMode.Single, UseSynchronizationContext=false)]
public class CustomPeerResolverService : System.ServiceModel.PeerResolvers.IPeerResolverContract
type CustomPeerResolverService = class
    interface IPeerResolverContract
Public Class CustomPeerResolverService
Implements IPeerResolverContract
Inheritance
CustomPeerResolverServiceCustomPeerResolverServiceCustomPeerResolverServiceCustomPeerResolverService
Attributes
Implements

Remarks

The CustomPeerResolverService class defines the base implementation of a custom peer resolver service and provides lookup for the resolution of registration IDs to peer endpoint addresses within the mesh maintained by this resolver.

Notes to Inheritors

Implementers of custom peer resolvers should derive from this class and override those specific functions for which they are providing custom implementations. Any custom peer resolver must minimally implement the IPeerResolverContract interface.

Also, clients using a custom resolver must have some upper bound on client-server latency in order to successfully refresh their registration with the peer resolver service.

Constructors

CustomPeerResolverService() CustomPeerResolverService() CustomPeerResolverService() CustomPeerResolverService()

Initializes a new default instance of the CustomPeerResolverService class.

Properties

CleanupInterval CleanupInterval CleanupInterval CleanupInterval

Gets or sets the recurring length of time after which stale entries are deleted from the peer resolver service's registration lookup table.

ControlShape ControlShape ControlShape ControlShape

Gets or sets whether referrals are shared by the peer resolver service.

RefreshInterval RefreshInterval RefreshInterval RefreshInterval

Gets or sets the length of time that entries remain valid in a peer resolver service's registration lookup table.

Methods

Close() Close() Close() Close()

Closes the peer resolver service.

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)
GetServiceSettings() GetServiceSettings() GetServiceSettings() GetServiceSettings()

Obtains the specific response settings for the peer resolver service.

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Open() Open() Open() Open()

Opens the peer resolver service.

Refresh(RefreshInfo) Refresh(RefreshInfo) Refresh(RefreshInfo) Refresh(RefreshInfo)

Refreshes the expiry of an entry in the peer resolver service's registration lookup table.

Register(Guid, String, PeerNodeAddress) Register(Guid, String, PeerNodeAddress) Register(Guid, String, PeerNodeAddress) Register(Guid, String, PeerNodeAddress)

Adds a new entry to the registration lookup table of the peer resolver service.

Register(RegisterInfo) Register(RegisterInfo) Register(RegisterInfo) Register(RegisterInfo)

Adds a new entry to the registration lookup table of the peer resolver service.

Resolve(ResolveInfo) Resolve(ResolveInfo) Resolve(ResolveInfo) Resolve(ResolveInfo)

Returns a list of known endpoints for a registration entry.

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

Returns a string that represents the current object.

(Inherited from Object)
Unregister(UnregisterInfo) Unregister(UnregisterInfo) Unregister(UnregisterInfo) Unregister(UnregisterInfo)

Removes a specific entry from the registration lookup table of the peer resolver service.

Update(UpdateInfo) Update(UpdateInfo) Update(UpdateInfo) Update(UpdateInfo)

Updates an existing registration entry in the registration lookup table of the peer resolver service.

Applies to

See also