Class DiscoveryResponseService
A service used to receive service discovery responses.
Inheritance
System.Object
DiscoveryResponseService
Implements
Namespace: Copper.Discovery.Common
Assembly: Copper.Discovery.Common.dll
Syntax
public class DiscoveryResponseService : IDiscoveryResponseService
Methods
View SourceRetrieveServiceDiscoveryResponses()
Retrieves the received service discovery responses.
Declaration
public ServiceDiscoveryResponse[] RetrieveServiceDiscoveryResponses()
Returns
Type | Description |
---|---|
ServiceDiscoveryResponse[] | An ServiceDiscoveryResponse[] containing the received service discovery responses. |
SubmitServiceDiscoveryResponse(ServiceDiscoveryResponse)
Submits a service discovery response.
Declaration
public Task SubmitServiceDiscoveryResponse(ServiceDiscoveryResponse serviceDiscoveryResponse)
Parameters
Type | Name | Description |
---|---|---|
ServiceDiscoveryResponse | serviceDiscoveryResponse | The service discovery response. |
Returns
Type | Description |
---|---|
System.Threading.Tasks.Task | A System.Threading.Tasks.Task that represents outstanding operation. |