IceStorm.TopicManagerPrx¶
- class IceStorm.TopicManagerPrx¶
Bases:
ObjectPrxRepresents an object that manages topics.
Notes
The Slice compiler generated this proxy class from Slice interface
::IceStorm::TopicManager.- createAsync(name: str, context: dict[str, str] | None = None) Awaitable[TopicPrx | None]¶
Creates a new topic.
- retrieve(name: str, context: dict[str, str] | None = None) TopicPrx | None¶
Retrieves a topic by name.
- retrieveAsync(name: str, context: dict[str, str] | None = None) Awaitable[TopicPrx | None]¶
Retrieves a topic by name.
- createOrRetrieve(name: str, context: dict[str, str] | None = None) TopicPrx | None¶
Creates a new topic with the given name, or retrieves the existing topic with this name if it already exists.
- createOrRetrieveAsync(name: str, context: dict[str, str] | None = None) Awaitable[TopicPrx | None]¶
Creates a new topic with the given name, or retrieves the existing topic with this name if it already exists.
- retrieveAll(context: dict[str, str] | None = None) dict[str, TopicPrx | None]¶
Retrieves all topics managed by this topic manager.
- retrieveAllAsync(context: dict[str, str] | None = None) Awaitable[dict[str, TopicPrx | None]]¶
Retrieves all topics managed by this topic manager.
- static checkedCast(proxy: ObjectPrx | None, facet: str | None = None, context: dict[str, str] | None = None) TopicManagerPrx | 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[TopicManagerPrx | None]¶
Creates a new proxy from an existing proxy after confirming the target object’s type via a remote invocation.
- Parameters:
- Returns:
An
Awaitablethat completes when the invocation completes. It holds a new proxy with the requested facet, orNoneif the source proxy isNoneor if the target object/facet does not support the requested type.- Return type:
Awaitable[ObjectPrx | None]