IceGrid.FileParserPrx¶
- class IceGrid.FileParserPrx¶
Bases:
ObjectPrxicegridadminprovides aFileParserobject to transform XML files intoIceGrid.ApplicationDescriptorobjects.Notes
The Slice compiler generated this proxy class from Slice interface
::IceGrid::FileParser.- parse(xmlFile: str, adminProxy: AdminPrx | None, context: dict[str, str] | None = None) ApplicationDescriptor¶
Parses a file.
- Parameters:
- Returns:
The application descriptor.
- Return type:
- Raises:
ParseException – Thrown when an error occurs during parsing.
- parseAsync(xmlFile: str, adminProxy: AdminPrx | None, context: dict[str, str] | None = None) Awaitable[ApplicationDescriptor]¶
Parses a file.
- Parameters:
- Returns:
The application descriptor.
- Return type:
Awaitable[ApplicationDescriptor]
- static checkedCast(proxy: ObjectPrx | None, facet: str | None = None, context: dict[str, str] | None = None) FileParserPrx | 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[FileParserPrx | 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