IceStorm.FinderPrx¶
- class IceStorm.FinderPrx¶
Bases:
ObjectPrxProvides access to a
IceStorm.TopicManagerPrxobject via a fixed identity. An IceStorm Finder is always registered with identityIceStorm/Finder. This allows clients to obtain the associated TopicManager proxy with just the endpoint information of the object. For example, you can use the Finder proxyIceStorm/Finder:tcp -h somehost -p 4061to get the TopicManager proxyMyIceStorm/TopicManager:tcp -h somehost -p 4061.Notes
The Slice compiler generated this proxy class from Slice interface
::IceStorm::Finder.- static checkedCast(proxy: ObjectPrx | None, facet: str | None = None, context: dict[str, str] | None = None) FinderPrx | 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 type, or None if the source proxy is None or if the target object 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[FinderPrx | 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 type, or None if the source proxy is None or if the target object does not support the requested type.
- Return type:
ObjectPrx | None
- getTopicManager(context: dict[str, str] | None = None) TopicManagerPrx | None¶
Gets a proxy to the associated
IceStorm.TopicManagerPrx. The proxy might point to several replicas.- Parameters:
context (dict[str, str]) – The request context for the invocation.
- Returns:
The topic manager proxy. This proxy is never null.
- Return type:
TopicManagerPrx | None
- getTopicManagerAsync(context: dict[str, str] | None = None) Awaitable[TopicManagerPrx | None]¶
Gets a proxy to the associated
IceStorm.TopicManagerPrx. The proxy might point to several replicas.- Parameters:
context (dict[str, str]) – The request context for the invocation.
- Returns:
The topic manager proxy. This proxy is never null.
- Return type:
Awaitable[TopicManagerPrx | None]
- static ice_staticId() str¶
Gets the Slice type ID of the interface associated with this proxy.
- Returns:
The type ID, “::Ice::Object”.
- Return type: