Ice.LocatorFinder

class Ice.LocatorFinder

Bases: Object, ABC

Provides access to a Ice.LocatorPrx 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.

Notes

The Slice compiler generated this skeleton class from Slice interface ::Ice::LocatorFinder.

abstractmethod getLocator(current: Current) LocatorPrx | None | Awaitable[LocatorPrx | None]

Gets a proxy to the associated Ice.LocatorPrx. The proxy might point to several replicas.

Parameters:

current (Ice.Current) – The Current object for the dispatch.

Returns:

The locator proxy. This proxy is never null.

Return type:

LocatorPrx | None | Awaitable[LocatorPrx | None]

static ice_staticId() str

Obtain the type ID of the Slice interface.

Returns:

The type ID.

Return type:

str