Editare

Partajați prin


DiscoveryProxy Class

Definition

An abstract base class used to implement a discovery proxy.

public ref class DiscoveryProxy abstract
public abstract class DiscoveryProxy
type DiscoveryProxy = class
Public MustInherit Class DiscoveryProxy
Inheritance
DiscoveryProxy

Constructors

DiscoveryProxy()

Initializes a new instance of the DiscoveryProxy class.

DiscoveryProxy(DiscoveryMessageSequenceGenerator)

Initializes a new instance of the DiscoveryProxy class with the specified DiscoveryMessageSequenceGenerator.

DiscoveryProxy(DiscoveryMessageSequenceGenerator, Int32)

Initializes a new instance of the DiscoveryProxy class with the specified DiscoveryMessageSequenceGenerator and duplicate message history length.

Methods

BeginShouldRedirectFind(FindCriteria, AsyncCallback, Object)

Override this method to allow the discovery proxy to send out multicast suppression messages when it receives a multicast find request.

BeginShouldRedirectResolve(ResolveCriteria, AsyncCallback, Object)

Override this method to allow the discovery proxy to send out multicast suppression messages when it receives a multicast resolve request.

EndShouldRedirectFind(IAsyncResult, Collection<EndpointDiscoveryMetadata>)

Override this method to handle the completion of sending the multicast suppression message for find requests.

EndShouldRedirectResolve(IAsyncResult, Collection<EndpointDiscoveryMetadata>)

Override this method to handle the completion of sending the multicast suppression message for resolve requests.

Equals(Object)

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

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
OnBeginFind(FindRequestContext, AsyncCallback, Object)

Override this method to handle a find operation.

OnBeginOfflineAnnouncement(DiscoveryMessageSequence, EndpointDiscoveryMetadata, AsyncCallback, Object)

Override this method to handle an offline announcement message.

OnBeginOnlineAnnouncement(DiscoveryMessageSequence, EndpointDiscoveryMetadata, AsyncCallback, Object)

Override this method to handle an online announcement message.

OnBeginResolve(ResolveCriteria, AsyncCallback, Object)

Override this method to handle a resolve operation.

OnEndFind(IAsyncResult)

Override this method to handle the completion of a find operation.

OnEndOfflineAnnouncement(IAsyncResult)

Override this method to handle the completion of an offline announcement message.

OnEndOnlineAnnouncement(IAsyncResult)

Override this method to handle the completion of an online announcement message.

OnEndResolve(IAsyncResult)

Override this method to handle the completion of a resolve operation.

ToString()

Returns a string that represents the current object.

(Inherited from Object)

Applies to