Saros
Distributed Collaborative Editing and Distributed Party Programming
|
Inherits FileAppender.
Public Member Functions | |
synchronized void | append (LoggingEvent event) |
void | activateOptions () |
Protected Member Functions | |
void | initialize () |
synchronized void | setJID (JID newJID) |
Protected Attributes | |
List< LoggingEvent > | cache = new LinkedList<LoggingEvent>() |
JID | localJID = null |
String | fileNameBackup |
XMPPConnectionService | connectionService |
Saros | saros |
FileAppender which can replace date patterns in the file name but also can replace a s with the JID of the currently connected users.
Will cache events until the user logs in for the first time and use then this name (and time). The user name is used until a new connection has been established with a different name.
void de.fu_berlin.inf.dpp.util.log.JIDFileAppender.activateOptions | ( | ) |
synchronized void de.fu_berlin.inf.dpp.util.log.JIDFileAppender.append | ( | LoggingEvent | event | ) |
void de.fu_berlin.inf.dpp.util.log.JIDFileAppender.initialize | ( | ) | [protected] |
synchronized void de.fu_berlin.inf.dpp.util.log.JIDFileAppender.setJID | ( | JID | newJID | ) | [protected] |
List<LoggingEvent> de.fu_berlin.inf.dpp.util.log.JIDFileAppender.cache = new LinkedList<LoggingEvent>() [protected] |
While there is no localJID known the LoggingEvents are cached in this list
String de.fu_berlin.inf.dpp.util.log.JIDFileAppender.fileNameBackup [protected] |
JID de.fu_berlin.inf.dpp.util.log.JIDFileAppender.localJID = null [protected] |
The JID of the local user, it is set when the user successfully establishes a connection