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

◆ parseAsync()

virtual void IceGrid::AsyncFileParser::parseAsync ( std::string xmlFile,
std::optional< AdminPrx > adminProxy,
std::function< void(const ApplicationDescriptor &returnValue)> response,
std::function< void(std::exception_ptr)> exception,
const Ice::Current & current )
pure virtual

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.
currentThe Current object of the incoming request.
Exceptions
IceGrid::ParseExceptionThrown when an error occurs during parsing.