Ice 3.7 Slice API Reference
Operations | List of all members
IceGrid::FileIterator Interface Reference

This interface provides access to IceGrid log file contents. More...

defined in <IceGrid/Admin.ice>

interface FileIterator { ... }

Operations

void destroy ()
 Destroy the iterator. More...
 
bool read (int size, out Ice::StringSeq lines) throws FileNotAvailableException
 Read lines from the log file. More...
 

Detailed Description

This interface provides access to IceGrid log file contents.

Operation Documentation

◆ destroy()

void destroy ( )

Destroy the iterator.

◆ read()

bool read ( int  size,
out Ice::StringSeq  lines 
) throws FileNotAvailableException

Read lines from the log file.

Parameters
sizeSpecifies the maximum number of bytes to be received. The server will ensure that the returned message doesn't exceed the given size.
linesThe lines read from the file. If there was nothing to read from the file since the last call to read, an empty sequence is returned. The last line of the sequence is always incomplete (and therefore no '
' should be added when writing the last line to the to the output device).
Returns
True if EOF is encountered.
Exceptions
FileNotAvailableExceptionRaised if there was a problem to read lines from the file.

The documentation for this interface was generated from the following file: