An interface for accessing remote log files. The interface is implemented by a built-in server-side C++ statefull component.
Since the FileViewer is a statefull component, the destroy method calls JagCompleteWork to free up the instance.
void destroy ( );
Returns the position in the log file given the log file id, the current reference position, and the offset w.r.to the current reference position.
long getPosition ( in long theLogFileId, in long refPosition, in long offset );
Initialize the server-side File Viewer component.
long initialize ( in string serverName );
Returns a sequence of logFileIds corresponding to each server side log file.
Jaguar::LogFileId logFileIds ( );
Returns the log file name given the log file id.
string logName ( in long theLogFileId );
Sets & returns the position in the log file given the log file id, the current reference position, and the offset w.r.to the current reference position.
long setPosition ( in long theLogFileId, in long refPosition, in long offset );
Returns the size of the log file given the log file id.
long size ( in long theLogFileId );
Returns the text string in the log file given the log file id. The text starting from the current reference position till the offset is returned.
string text ( in long theLogFileId, in long refPosition, in long offset );