Class JingleArchive

  • All Implemented Interfaces:
    java.lang.Comparable<tigase.xmpp.XMPPImplIfc>, tigase.xmpp.XMPPImplIfc, tigase.xmpp.XMPPPostprocessorIfc, tigase.xmpp.XMPPProcessorConcurrencyAwareIfc, tigase.xmpp.XMPPProcessorIfc

    @Bean(name="jingle-archive",
          parent=tigase.server.xmppsession.SessionManager.class,
          active=false)
    public class JingleArchive
    extends tigase.xmpp.impl.annotation.AnnotatedXMPPProcessor
    implements tigase.xmpp.XMPPProcessorIfc, tigase.xmpp.XMPPPostprocessorIfc
    Author:
    andrzej
    • Constructor Summary

      Constructors 
      Constructor Description
      JingleArchive()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      tigase.xmpp.Authorization canHandle​(tigase.server.Packet packet, tigase.xmpp.XMPPResourceConnection conn)  
      void postProcess​(tigase.server.Packet packet, tigase.xmpp.XMPPResourceConnection conn, tigase.db.NonAuthUserRepository repo, java.util.Queue<tigase.server.Packet> queue, java.util.Map<java.lang.String,​java.lang.Object> settings)  
      void process​(tigase.server.Packet packet, tigase.xmpp.XMPPResourceConnection conn, tigase.db.NonAuthUserRepository repo, java.util.Queue<tigase.server.Packet> results, java.util.Map<java.lang.String,​java.lang.Object> settings)  
      java.lang.String[][] supElementNamePaths()  
      java.lang.String[] supNamespaces()  
      • Methods inherited from class tigase.xmpp.impl.annotation.AnnotatedXMPPProcessor

        id, supDiscoFeatures, supStreamFeatures, supTypes
      • Methods inherited from class tigase.xmpp.XMPPProcessor

        compareTo, concurrentThreadsPerQueue, getComponentInfo, getInstance, getQueueSize, getStatistics, getThreadsNo, init, isSupporting, supElements, 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, concurrentThreadsPerQueue, getComponentInfo, getStatistics, id, init, isSupporting, supDiscoFeatures, supElements, supStreamFeatures, supTypes
    • Field Detail

      • TIGASE_ARCHIVE_JINGLE_XMLNS

        public static final java.lang.String TIGASE_ARCHIVE_JINGLE_XMLNS
        See Also:
        Constant Field Values
      • OMIT_JINGLE_XMLNS_KEY

        public static final java.lang.String OMIT_JINGLE_XMLNS_KEY
        See Also:
        Constant Field Values
      • OMIT_JINGLE_XMLNS_SUP_XMLNSS

        public static final java.lang.String[] OMIT_JINGLE_XMLNS_SUP_XMLNSS
      • JINGLE_PATH

        protected static final java.lang.String[] JINGLE_PATH
      • OMIT_JINGLE_XMLNS_SUP_PATHS

        public static final java.lang.String[][] OMIT_JINGLE_XMLNS_SUP_PATHS
      • JINGLE_MESSAGE_XMLNS

        protected static final java.lang.String JINGLE_MESSAGE_XMLNS
        See Also:
        Constant Field Values
    • Constructor Detail

      • JingleArchive

        public JingleArchive()
    • Method Detail

      • 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 conn,
                            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
      • postProcess

        public void postProcess​(tigase.server.Packet packet,
                                tigase.xmpp.XMPPResourceConnection conn,
                                tigase.db.NonAuthUserRepository repo,
                                java.util.Queue<tigase.server.Packet> queue,
                                java.util.Map<java.lang.String,​java.lang.Object> settings)
        Specified by:
        postProcess in interface tigase.xmpp.XMPPPostprocessorIfc
      • supElementNamePaths

        public java.lang.String[][] supElementNamePaths()
        Specified by:
        supElementNamePaths in interface tigase.xmpp.XMPPImplIfc
        Overrides:
        supElementNamePaths in class tigase.xmpp.impl.annotation.AnnotatedXMPPProcessor
      • supNamespaces

        public java.lang.String[] supNamespaces()
        Specified by:
        supNamespaces in interface tigase.xmpp.XMPPImplIfc
        Overrides:
        supNamespaces in class tigase.xmpp.impl.annotation.AnnotatedXMPPProcessor