org.jivesoftware.openfire.audit.spi
Class AuditorImpl
java.lang.Object
org.jivesoftware.openfire.audit.spi.AuditorImpl
- All Implemented Interfaces:
- Auditor
public class AuditorImpl
- extends Object
- implements Auditor
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AuditorImpl
public AuditorImpl(AuditManager manager)
setMaxValues
protected void setMaxValues(int totalSize,
int fileSize,
int days)
setLogTimeout
public void setLogTimeout(int logTimeout)
setLogDir
public void setLogDir(String logDir)
getQueuedPacketsNumber
public int getQueuedPacketsNumber()
- Description copied from interface:
Auditor
- Returns the number of queued packets that are still in memory and need to be saved to a
permanent store.
- Specified by:
getQueuedPacketsNumber
in interface Auditor
- Returns:
- the number of queued packets that are still in memory.
audit
public void audit(Packet packet,
Session session)
- Description copied from interface:
Auditor
- Audit an XMPP packet.
- Specified by:
audit
in interface Auditor
- Parameters:
packet
- the packet being auditedsession
- the session used for sending or receiving the packet
stop
public void stop()
- Description copied from interface:
Auditor
- Prepares the auditor for system shutdown.
- Specified by:
stop
in interface Auditor
Copyright © 2003-2007 Jive Software.