Interface ILocatorFinderService
Provides access to a LocatorProxy object via a fixed identity.
A LocatorFinder is always registered with identity Ice/LocatorFinder. This allows clients to obtain the
associated Locator proxy with just the endpoint information of the object. For example, you can use the
LocatorFinder proxy Ice/LocatorFinder:tcp -h somehost -p 4061 to get the Locator proxy
MyIceGrid/Locator:tcp -h somehost -p 4061.
[IceTypeId("::Ice::LocatorFinder")]
[DefaultServicePath("/Ice.LocatorFinder")]
public interface ILocatorFinderService
Remarks
Apply ServiceAttribute to the partial class that implements this interface.
The Ice compiler generated this server-side interface from Ice interface ::Ice::LocatorFinder.
Methods
GetLocatorAsync(IFeatureCollection, CancellationToken)
Gets a proxy to the associated LocatorProxy. The proxy might point to several replicas.
[IceOperation("getLocator")]
ValueTask<LocatorProxy?> GetLocatorAsync(IFeatureCollection features, CancellationToken cancellationToken)
Parameters
featuresIFeatureCollectionThe features of this dispatch.
cancellationTokenCancellationTokenA cancellation token that receives the cancellation requests.
Returns
- ValueTask<LocatorProxy?>
The locator proxy. This proxy is never null.