Ice.RouterFinderPrx¶
- class Ice.RouterFinderPrx¶
Bases:
ObjectPrxProvides access to a
Ice.RouterPrxobject via a fixed identity. A RouterFinder is always registered with identityIce/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 proxyIce/RouterFinder:tcp -h somehost -p 4061to get the Router proxyMyGlacier2/Router:tcp -h somehost -p 4061.Notes
The Slice compiler generated this proxy class from Slice interface
::Ice::RouterFinder.- getRouter(context: dict[str, str] | None = None) RouterPrx | None¶
Gets a proxy to the associated
Ice.RouterPrx. The proxy might point to several replicas.
- getRouterAsync(context: dict[str, str] | None = None) Awaitable[RouterPrx | None]¶
Gets a proxy to the associated
Ice.RouterPrx. The proxy might point to several replicas.
- static checkedCast(proxy: ObjectPrx | None, facet: str | None = None, context: dict[str, str] | None = None) RouterFinderPrx | None¶
Creates a new proxy from an existing proxy after confirming the target object’s type via a remote invocation.
- Parameters:
- Returns:
A new proxy with the requested facet, or
Noneif the source proxy isNoneor if the target object/facet does not support the requested type.- Return type:
ObjectPrx | None
- static checkedCastAsync(proxy: ObjectPrx | None, facet: str | None = None, context: dict[str, str] | None = None) Awaitable[RouterFinderPrx | None]¶
Creates a new proxy from an existing proxy after confirming the target object’s type via a remote invocation.
- Parameters:
- Returns:
A new proxy with the requested facet, or
Noneif the source proxy isNoneor if the target object/facet does not support the requested type.- Return type:
ObjectPrx | None