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

◆ openServerStdErrAsync() [2/2]

std::function< void()> IceGrid::AdminSessionPrx::openServerStdErrAsync ( std::string_view id,
std::int32_t count,
std::function< void(std::optional<::IceGrid::FileIteratorPrx >)> response,
std::function< void(std::exception_ptr)> exception = nullptr,
std::function< void(bool)> sent = nullptr,
const Ice::Context & context = Ice::noExplicitContext ) const

Opens a server stderr file for reading.

Parameters
idThe server ID.
countSpecifies where to start reading the file. If negative, the file is read from the beginning. Otherwise, the file is read from the last count lines.
responseThe response callback. It accepts:
  • An iterator to read the file. This proxy is never null.
exceptionThe exception callback.
sentThe sent callback.
contextThe request context.
Returns
A function that can be called to cancel the invocation locally.