Ice.RouterFinder

class Ice.RouterFinder

Bases: Object, ABC

Provides access to a Ice.RouterPrx object via a fixed identity. A RouterFinder is always registered with identity Ice/RouterFinder. This allows clients to obtain the associated Router proxy with just the endpoint information of the object. For example, you can use the RouterFinder proxy Ice/RouterFinder:tcp -h somehost -p 4061 to get the Router proxy MyGlacier2/Router:tcp -h somehost -p 4061.

Notes

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

abstractmethod getRouter(current: Current) RouterPrx | None | Awaitable[RouterPrx | None]

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

Parameters:

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

Returns:

The router proxy. This proxy is never null.

Return type:

RouterPrx | None | Awaitable[RouterPrx | None]

static ice_staticId() str

Obtain the type ID of the Slice interface.

Returns:

The type ID.

Return type:

str