Class AbstractMAMProcessor

  • All Implemented Interfaces:
    java.lang.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 
      Modifier and Type Field Description
      protected MessageArchivePlugin messageArchivePlugin  
      • Fields inherited from class tigase.xmpp.XMPPProcessor

        ALL_NAMES, ALL_PATHS, cmpInfo
      • Fields inherited from interface tigase.xmpp.XMPPImplIfc

        CLIENT_XMLNS
    • Method Summary

      All Methods Instance Methods Abstract Methods Concrete Methods 
      Modifier and Type Method Description
      tigase.xmpp.Authorization canHandle​(tigase.server.Packet packet, tigase.xmpp.XMPPResourceConnection conn)  
      protected abstract java.lang.String getXMLNS()  
      protected abstract boolean hasStanzaIdSupport()  
      void process​(tigase.server.Packet packet, tigase.xmpp.XMPPResourceConnection session, tigase.db.NonAuthUserRepository repo, java.util.Queue<tigase.server.Packet> results, java.util.Map<java.lang.String,​java.lang.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
    • Constructor Detail

      • AbstractMAMProcessor

        public AbstractMAMProcessor()
    • Method Detail

      • getXMLNS

        protected abstract java.lang.String getXMLNS()
      • hasStanzaIdSupport

        protected abstract boolean hasStanzaIdSupport()
      • canHandle

        public tigase.xmpp.Authorization canHandle​(tigase.server.Packet packet,
                                                   tigase.xmpp.XMPPResourceConnection conn)
        Specified by:
        canHandle in interface tigase.xmpp.XMPPImplIfc
        Overrides:
        canHandle in class tigase.xmpp.XMPPProcessor
      • process

        public void process​(tigase.server.Packet packet,
                            tigase.xmpp.XMPPResourceConnection session,
                            tigase.db.NonAuthUserRepository repo,
                            java.util.Queue<tigase.server.Packet> results,
                            java.util.Map<java.lang.String,​java.lang.Object> settings)
                     throws tigase.xmpp.XMPPException
        Specified by:
        process in interface tigase.xmpp.XMPPProcessorIfc
        Throws:
        tigase.xmpp.XMPPException