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
    Modifier and Type
    Field
    Description
     

    Fields inherited from class tigase.xmpp.XMPPProcessor

    ALL_NAMES, ALL_PATHS, cmpInfo

    Fields inherited from interface tigase.xmpp.XMPPImplIfc

    CLIENT_XMLNS
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    tigase.xmpp.Authorization
    canHandle(tigase.server.Packet packet, tigase.xmpp.XMPPResourceConnection conn)
     
    protected abstract String
     
    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

  • Constructor Details

    • AbstractMAMProcessor

      public AbstractMAMProcessor()
  • Method Details

    • getXMLNS

      protected abstract 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, Queue<tigase.server.Packet> results, Map<String,Object> settings) throws tigase.xmpp.XMPPException
      Specified by:
      process in interface tigase.xmpp.XMPPProcessorIfc
      Throws:
      tigase.xmpp.XMPPException