public interface ConsoleArchiver
Modifier and Type | Method and Description |
---|---|
void |
addConsoleListener(LogListener l,
Object component,
long last,
int max)
Add a listener to the archiver which will receive all missed
events.
|
String |
consoleIdFor(Object component)
Get the console id for a given component.
|
void |
removeConsoleListener(LogListener l,
Object component)
Remove the LogListener.
|
void addConsoleListener(LogListener l, Object component, long last, int max)
l
- The logListener which will receive the events.component
- The component whose console to receive events for.last
- The last event number received. The LogArchive will
not send messages from before this number.max
- The maximum messages to send up to the most recent.void removeConsoleListener(LogListener l, Object component)
l
- The LogListener.