public class AuditLogProcessor
extends tigase.xmpp.XMPPProcessor
implements tigase.xmpp.XMPPPacketFilterIfc, tigase.xmpp.XMPPStopListenerIfc
| Constructor and Description |
|---|
AuditLogProcessor() |
| Modifier and Type | Method and Description |
|---|---|
void |
filter(tigase.server.Packet packet,
tigase.xmpp.XMPPResourceConnection session,
tigase.db.NonAuthUserRepository repo,
Queue<tigase.server.Packet> results) |
protected String |
getEntryTypeFromPacket(tigase.server.Packet packet)
Added for easier mapping of packet/events type passed from methods
to types which should be logged
|
String |
id() |
void |
init(Map<String,Object> settings) |
protected String |
mapType(String type)
Added for easier mapping of packet/events type passed from methods
to types which should be logged
|
void |
stopped(tigase.xmpp.XMPPResourceConnection session,
Queue<tigase.server.Packet> results,
Map<String,Object> settings) |
canHandle, compareTo, concurrentThreadsPerQueue, getComponentInfo, getInstance, getStatistics, isSupporting, supDiscoFeatures, supElementNamePaths, supElements, supNamespaces, supStreamFeatures, supTypes, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanHandle, concurrentQueuesNo, concurrentThreadsPerQueue, getComponentInfo, getStatistics, isSupporting, supDiscoFeatures, supElementNamePaths, supElements, supNamespaces, supStreamFeatures, supTypescompareTopublic String id()
id in interface tigase.xmpp.XMPPImplIfcpublic void init(Map<String,Object> settings) throws tigase.db.TigaseDBException
init in interface tigase.xmpp.XMPPImplIfcinit in class tigase.xmpp.XMPPProcessortigase.db.TigaseDBExceptionpublic void filter(tigase.server.Packet packet,
tigase.xmpp.XMPPResourceConnection session,
tigase.db.NonAuthUserRepository repo,
Queue<tigase.server.Packet> results)
filter in interface tigase.xmpp.XMPPPacketFilterIfcpublic void stopped(tigase.xmpp.XMPPResourceConnection session,
Queue<tigase.server.Packet> results,
Map<String,Object> settings)
stopped in interface tigase.xmpp.XMPPStopListenerIfcprotected String getEntryTypeFromPacket(tigase.server.Packet packet)
packet - Copyright © 2019. All rights reserved.