Interface IEndpointDescriptionLocator
- All Known Implementing Classes:
EndpointDescriptionLocator
public interface IEndpointDescriptionLocator
- Since:
- 4.3
-
Method Summary
Modifier and TypeMethodDescriptionvoid
discoverEndpoint
(EndpointDescription endpointDescription) Discover the given endpointDescription.Get endpoints discovered by this endpoint locatorgetNetworkDiscoveredServiceID
(EndpointDescription endpointDescription) Get the service ID associated with the given endpoint description.void
undiscoverEndpoint
(EndpointDescription endpointDescription) Remove the given endpointDescription.void
updateEndpoint
(EndpointDescription endpointDescription) Update the given endpointDescription.
-
Method Details
-
getDiscoveredEndpoints
EndpointDescription[] getDiscoveredEndpoints()Get endpoints discovered by this endpoint locator- Returns:
- EndpointDescription[] of previously discovered endpoint. Will not return null, but may return empty array.
-
getNetworkDiscoveredServiceID
Get the service ID associated with the given endpoint description.- Parameters:
endpointDescription
- endpoint description- Returns:
- IServiceID associated discovered endpoint description. Will
return
null
if no associated serviceID
-
discoverEndpoint
Discover the given endpointDescription. This method will not block and will result in local EndpointEventListeners to be notified that the given endpointDescription is discovered. about- Parameters:
endpointDescription
- must not be null
-
updateEndpoint
Update the given endpointDescription. This method will not block and will result in local EndpointEventListeners to be notified that the given endpointDescription is updated. about- Parameters:
endpointDescription
- must not be null
-
undiscoverEndpoint
Remove the given endpointDescription. This method will not block and will result in local EndpointEventListeners to be notified that the given endpointDescription is removed. about- Parameters:
endpointDescription
- must not be null
-