Rediger

Del via


IPeerResolverContract Interface

Definition

Defines a contract for the basic operations of a peer resolver service.

public interface class IPeerResolverContract
[System.ServiceModel.ServiceContract(Name="IPeerResolverContract", Namespace="http://schemas.microsoft.com/net/2006/05/peer/resolver", SessionMode=System.ServiceModel.SessionMode.Allowed)]
public interface IPeerResolverContract
[<System.ServiceModel.ServiceContract(Name="IPeerResolverContract", Namespace="http://schemas.microsoft.com/net/2006/05/peer/resolver", SessionMode=System.ServiceModel.SessionMode.Allowed)>]
type IPeerResolverContract = interface
Public Interface IPeerResolverContract
Derived
Attributes

Remarks

Implementors of custom peer resolver services should consider deriving from the base CustomPeerResolverService

type and overriding the virtual methods defined on it.

Methods

GetServiceSettings()

Obtains the settings for a peer resolver service.

Refresh(RefreshInfo)

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

Register(RegisterInfo)

Registers a peer node with the custom peer resolver service.

Resolve(ResolveInfo)

Returns a list of known endpoints for a registration entry.

Unregister(UnregisterInfo)

Removes a registration from the lookup table for a peer resolver service.

Update(UpdateInfo)

Updates the entry for a specific peer node in the peer resolver service's lookup table.

Applies to

See also