std::function< void()> IceGrid::FileParserPrx::parseAsync | ( | std::string_view | xmlFile, |
const std::optional< AdminPrx > & | adminProxy, | ||
std::function< void(::IceGrid::ApplicationDescriptor)> | response, | ||
std::function< void(std::exception_ptr)> | exception = nullptr, | ||
std::function< void(bool)> | sent = nullptr, | ||
const Ice::Context & | context = Ice::noExplicitContext ) const |
Parses a file.
xmlFile | The full path to the file. |
adminProxy | An IceGrid::AdminPrx proxy, used only to retrieve default templates when needed. May be null. |
response | The response callback. It accepts:
|
exception | The exception callback. |
sent | The sent callback. |
context | The request context. |