Package org.jivesoftware.openfire.audit
Interface Auditor
-
- All Known Implementing Classes:
AuditorImpl
public interface Auditor
Use auditors to audit events and messages on the server.
All events and messages are sent to the auditor for recording. The auditor will determine if auditing should take place, and what to do with the data.
- Author:
- Iain Shigeoka
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
audit(org.xmpp.packet.Packet packet, Session session)
Audit an XMPP packet.int
getQueuedPacketsNumber()
Returns the number of queued packets that are still in memory and need to be saved to a permanent store.void
stop()
Prepares the auditor for system shutdown.
-
-
-
Method Detail
-
audit
void audit(org.xmpp.packet.Packet packet, Session session)
Audit an XMPP packet.- Parameters:
packet
- the packet being auditedsession
- the session used for sending or receiving the packet
-
stop
void stop()
Prepares the auditor for system shutdown.
-
getQueuedPacketsNumber
int getQueuedPacketsNumber()
Returns the number of queued packets that are still in memory and need to be saved to a permanent store.- Returns:
- the number of queued packets that are still in memory.
-
-