Package tigase.archive.processors
Class AbstractMAMProcessor
java.lang.Object
tigase.xmpp.XMPPProcessor
tigase.xmpp.impl.annotation.AnnotatedXMPPProcessor
tigase.archive.processors.AbstractMAMProcessor
- All Implemented Interfaces:
Comparable<tigase.xmpp.XMPPImplIfc>,tigase.xmpp.XMPPImplIfc,tigase.xmpp.XMPPProcessorConcurrencyAwareIfc,tigase.xmpp.XMPPProcessorIfc
- Direct Known Subclasses:
MAM2Processor,Xep0313MessageArchiveManagementProcessor
public abstract class AbstractMAMProcessor
extends tigase.xmpp.impl.annotation.AnnotatedXMPPProcessor
implements tigase.xmpp.XMPPProcessorIfc
Created by andrzej on 22.07.2016.
-
Field Summary
FieldsFields inherited from class tigase.xmpp.XMPPProcessor
ALL_NAMES, ALL_PATHS, cmpInfoFields inherited from interface tigase.xmpp.XMPPImplIfc
CLIENT_XMLNS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiontigase.xmpp.AuthorizationcanHandle(tigase.server.Packet packet, tigase.xmpp.XMPPResourceConnection conn) protected abstract StringgetXMLNS()protected abstract booleanvoidprocess(tigase.server.Packet packet, tigase.xmpp.XMPPResourceConnection session, tigase.db.NonAuthUserRepository repo, Queue<tigase.server.Packet> results, Map<String, Object> settings) Methods inherited from class tigase.xmpp.impl.annotation.AnnotatedXMPPProcessor
id, supDiscoFeatures, supElementNamePaths, supNamespaces, supStreamFeatures, supTypesMethods inherited from class tigase.xmpp.XMPPProcessor
compareTo, concurrentQueuesNo, getComponentInfo, getInstance, getQueueSize, getStatistics, getThreadsNo, init, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Comparable
compareToMethods inherited from interface tigase.xmpp.XMPPImplIfc
concurrentQueuesNo, getComponentInfo, getStatistics, id, init, supDiscoFeatures, supElementNamePaths, supNamespaces, supStreamFeatures, supTypes
-
Field Details
-
messageArchivePlugin
-
-
Constructor Details
-
AbstractMAMProcessor
public AbstractMAMProcessor()
-
-
Method Details
-
getXMLNS
-
hasStanzaIdSupport
protected abstract boolean hasStanzaIdSupport() -
canHandle
public tigase.xmpp.Authorization canHandle(tigase.server.Packet packet, tigase.xmpp.XMPPResourceConnection conn) - Specified by:
canHandlein interfacetigase.xmpp.XMPPImplIfc- Overrides:
canHandlein classtigase.xmpp.XMPPProcessor
-
process
public void process(tigase.server.Packet packet, tigase.xmpp.XMPPResourceConnection session, tigase.db.NonAuthUserRepository repo, Queue<tigase.server.Packet> results, Map<String, Object> settings) throws tigase.xmpp.XMPPException- Specified by:
processin interfacetigase.xmpp.XMPPProcessorIfc- Throws:
tigase.xmpp.XMPPException
-