Ice.PropertiesAdminPrx¶
- class Ice.PropertiesAdminPrx¶
Bases:
ObjectPrxProvides remote access to the properties of a communicator.
Notes
The Slice compiler generated this proxy class from Slice interface
::Ice::PropertiesAdmin.- static checkedCast(proxy: ObjectPrx | None, facet: str | None = None, context: dict[str, str] | None = None) PropertiesAdminPrx | 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[PropertiesAdminPrx | 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
- getPropertiesForPrefix(prefix: str, context: dict[str, str] | None = None) dict[str, str]¶
Gets all properties whose keys begin with
prefix. Ifprefixis the empty string then all properties are returned.
- getPropertiesForPrefixAsync(prefix: str, context: dict[str, str] | None = None) Awaitable[dict[str, str]]¶
Gets all properties whose keys begin with
prefix. Ifprefixis the empty string then all properties are returned.
- getPropertyAsync(key: str, context: dict[str, str] | None = None) Awaitable[str]¶
Gets a property by key.
- static ice_staticId() str¶
Gets the Slice type ID of the interface associated with this proxy.
- Returns:
The type ID, “::Ice::Object”.
- Return type:
- setProperties(newProperties: Mapping[str, str], context: dict[str, str] | None = None) None¶
Updates the communicator’s properties with the given property set. If an entry in
newPropertiesmatches the name of an existing property, that property’s value is replaced with the new value. If the new value is the empty string, the property is removed. Existing properties that are not modified or removed by the entries innewPropertiesare not affected by this update.
- setPropertiesAsync(newProperties: Mapping[str, str], context: dict[str, str] | None = None) Awaitable[None]¶
Updates the communicator’s properties with the given property set. If an entry in
newPropertiesmatches the name of an existing property, that property’s value is replaced with the new value. If the new value is the empty string, the property is removed. Existing properties that are not modified or removed by the entries innewPropertiesare not affected by this update.