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

◆ openNodeStdOut()

std::optional< FileIteratorPrx > IceGrid::AdminSessionPrx::openNodeStdOut ( std::string_view name,
std::int32_t count,
const Ice::Context & context = Ice::noExplicitContext ) const

Opens a node stdout 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.
contextThe request context.
Returns
An iterator to read the file. This proxy is never null.
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.