e79aa3c0ed
Former-commit-id: a2155e9bd80020e49e72e86c44da02a8ac0e57a4
27 lines
1.1 KiB
C#
27 lines
1.1 KiB
C#
//----------------------------------------------------------------
|
|
// Copyright (c) Microsoft Corporation. All rights reserved.
|
|
//----------------------------------------------------------------
|
|
|
|
namespace System.ServiceModel.Discovery
|
|
{
|
|
using System;
|
|
using System.Collections.ObjectModel;
|
|
using System.Runtime;
|
|
|
|
interface IDiscoveryRequestContext
|
|
{
|
|
TimeoutHelper TimeoutHelper { get; }
|
|
ServiceDiscoveryMode DiscoveryMode { get; }
|
|
|
|
IAsyncResult BeginSendFindResponse(Collection<EndpointDiscoveryMetadata> matchingEndpoints, AsyncCallback callback, object state);
|
|
void EndSendFindResponse(IAsyncResult result);
|
|
|
|
IAsyncResult BeginSendResolveResponse(EndpointDiscoveryMetadata matchingEndpoint, AsyncCallback callback, object state);
|
|
void EndSendResolveResponse(IAsyncResult result);
|
|
|
|
IAsyncResult BeginSendProxyAnnouncements(Collection<EndpointDiscoveryMetadata> proxyAnnouncementEndpoints, AsyncCallback callback, object state);
|
|
void EndSendProxyAnnouncements(IAsyncResult result);
|
|
}
|
|
|
|
}
|