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
Fields inherited from class tigase.xmpp.XMPPProcessor
ALL_NAMES, ALL_PATHS, cmpInfo
Fields inherited from interface tigase.xmpp.XMPPImplIfc
CLIENT_XMLNS
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptiontigase.xmpp.Authorization
canHandle
(tigase.server.Packet packet, tigase.xmpp.XMPPResourceConnection conn) protected abstract String
getXMLNS()
protected abstract boolean
void
process
(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, supTypes
Methods inherited from class tigase.xmpp.XMPPProcessor
compareTo, concurrentQueuesNo, getComponentInfo, getInstance, getQueueSize, getStatistics, getThreadsNo, init, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.lang.Comparable
compareTo
Methods 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:
canHandle
in interfacetigase.xmpp.XMPPImplIfc
- Overrides:
canHandle
in 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:
process
in interfacetigase.xmpp.XMPPProcessorIfc
- Throws:
tigase.xmpp.XMPPException
-