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

◆ openServerStdOut()

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

Opens a server stdout 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.
contextThe request context.
Returns
An iterator to read the file. This proxy is never null.
Exceptions
IceGrid::DeploymentExceptionThrown when the server couldn't be deployed on the node.
IceGrid::FileNotAvailableExceptionThrown when the file can't be read.
IceGrid::NodeUnreachableExceptionThrown when the node is unreachable.
IceGrid::ServerNotExistExceptionThrown when the server doesn't exist.