August 2001
Intermediate to advanced
480 pages
9h 14m
English
public interface LogReaderService
The LogReaderService provides methods to read LogEntry objects from the log. Two ways are provided to read LogEntry objects.
The primary way to receive LogEntry objects is to register a LogListener object which will be called at the LogListener.logged(LogEntry) method for each entry added to the log.
To receive past LogEntry objects, getLog() can be called which will return an Enumeration of all LogEntry objects in the log.
| Member Summary | |
|---|---|
| Methods | |
| public void | addLogListener(LogListener) |
| Subscribe to LogEntry objects. | |
| public Enumeration | getLog() |
| Returns an enumeration of all LogEntry objects in the log. | |
| public void | removeLogListener(LogListener) |
| Unsubscribe to LogEntry objects. ... | |
Read now
Unlock full access