An interface for accessing remote log files. The interface is implemented by a built-in server-side C++ statefull component.
Returns a sequence of logFileIds corresponding to each directory location passed to the function.
Jaguar::LogFileId customLogFileLocationIds
(
in Jaguar::List directories,
in long numdirectories,
in long lastIndex
);
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 a sequence of logFileIds corresponding to each server side log file in the specified location.
Jaguar::LogFileId logFileIdsByLocation
(
in long locationId
);
Returns a sequence of logFileIds corresponding to each server side log location.
Jaguar::LogFileId logFileLocationIds
(
);
Returns the name of the specified server side log location.
string logFileLocationName
(
in long locationId
);
Returns the log file name given the log file id.
string logName
(
in long theLogFileId
);
void setExtensions
(
in Jaguar::List extensions,
in long numExtensions
);
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
);