IceGrid.Locator

class IceGrid.Locator

Bases: Locator, ABC

Provides access to the IceGrid.QueryPrx and IceGrid.RegistryPrx objects implemented by the IceGrid registry.

Notes

The Slice compiler generated this skeleton class from Slice interface ::IceGrid::Locator.

abstractmethod getLocalQuery(current: Current) QueryPrx | None | Awaitable[QueryPrx | None]

Gets a proxy to the query object hosted by this IceGrid registry.

Parameters:

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

Returns:

A proxy to the query object. This proxy is never null.

Return type:

QueryPrx | None | Awaitable[QueryPrx | None]

abstractmethod getLocalRegistry(current: Current) RegistryPrx | None | Awaitable[RegistryPrx | None]

Gets a proxy to the registry object hosted by this IceGrid registry.

Parameters:

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

Returns:

A proxy to the registry object. This proxy is never null.

Return type:

RegistryPrx | None | Awaitable[RegistryPrx | None]

static ice_staticId() str

Obtain the type ID of the Slice interface.

Returns:

The type ID.

Return type:

str