public interface ConsoleArchiver
Modifier and Type | Method and Description |
---|---|
void |
addConsoleListener(LogListener l,
java.lang.Object component,
long last,
int max)
Add a listener to the archiver which will receive all missed
events.
|
java.lang.String |
consoleIdFor(java.lang.Object component)
Get the console id for a given component.
|
void |
removeConsoleListener(LogListener l,
java.lang.Object component)
Remove the LogListener.
|
void addConsoleListener(LogListener l, java.lang.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, java.lang.Object component)
l
- The LogListener.java.lang.String consoleIdFor(java.lang.Object component)
component
- The component.