Ice 3.8
C++ API Reference
Loading...
Searching...
No Matches

◆ parseAsync() [2/2]

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.

Parameters
xmlFileThe full path to the file.
adminProxyAn IceGrid::AdminPrx proxy, used only to retrieve default templates when needed. May be null.
responseThe response callback. It accepts:
  • The application descriptor.
exceptionThe exception callback.
sentThe sent callback.
contextThe request context.
Returns
A function that can be called to cancel the invocation locally.