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

◆ openNodeStdErrAsync()

virtual void IceGrid::AsyncAdminSession::openNodeStdErrAsync ( std::string name,
std::int32_t count,
std::function< void(const std::optional< FileIteratorPrx > &returnValue)> response,
std::function< void(std::exception_ptr)> exception,
const Ice::Current & current )
pure virtual

Opens a node stderr file for reading.

Parameters
nameThe node name.
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.
currentThe Current object of the incoming request.
Exceptions
IceGrid::FileNotAvailableExceptionThrown when the file can't be read.
IceGrid::NodeNotExistExceptionThrown when the node doesn't exist.
IceGrid::NodeUnreachableExceptionThrown when the node is unreachable.