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

◆ initAsync()

virtual void Ice::AsyncRemoteLogger::initAsync ( std::string prefix,
LogMessageSeq logMessages,
std::function< void()> response,
std::function< void(std::exception_ptr)> exception,
const Ice::Current & current )
pure virtual

Initializes this remote logger with the prefix and the most recent log messages of the logger of the communicator that hosts the Logger admin facet.

This facet calls this operation once, after Ice::LoggerAdminPrx::attachRemoteLogger attaches this remote logger.

Parameters
prefixThe prefix of that logger.
logMessagesThe most recent log messages cached by the Logger admin facet that match the filters given to Ice::LoggerAdminPrx::attachRemoteLogger, oldest first, up to its messageMax. This sequence is empty when messageMax is 0.
responseThe response callback.
exceptionThe exception callback.
currentThe Current object of the incoming request.