Class JingleArchive
- java.lang.Object
-
- tigase.xmpp.XMPPProcessor
-
- tigase.xmpp.impl.annotation.AnnotatedXMPPProcessor
-
- tigase.archive.unified.processors.JingleArchive
-
- All Implemented Interfaces:
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
-
-
Field Summary
Fields Modifier and Type Field Description protected static StringIDprotected static StringJINGLE_ELprotected static StringJINGLE_MESSAGE_XMLNSprotected static String[]JINGLE_PATHstatic StringJINGLE_XMLNSstatic StringOMIT_JINGLE_XMLNS_KEYstatic String[][]OMIT_JINGLE_XMLNS_SUP_PATHSstatic String[]OMIT_JINGLE_XMLNS_SUP_XMLNSSstatic StringTIGASE_ARCHIVE_JINGLE_XMLNS
-
Constructor Summary
Constructors Constructor Description JingleArchive()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description tigase.xmpp.AuthorizationcanHandle(tigase.server.Packet packet, tigase.xmpp.XMPPResourceConnection conn)voidpostProcess(tigase.server.Packet packet, tigase.xmpp.XMPPResourceConnection conn, tigase.db.NonAuthUserRepository repo, Queue<tigase.server.Packet> queue, Map<String,Object> settings)voidprocess(tigase.server.Packet packet, tigase.xmpp.XMPPResourceConnection conn, tigase.db.NonAuthUserRepository repo, Queue<tigase.server.Packet> results, Map<String,Object> settings)String[][]supElementNamePaths()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
-
-
-
-
Field Detail
-
JINGLE_XMLNS
public static final String JINGLE_XMLNS
- See Also:
- Constant Field Values
-
TIGASE_ARCHIVE_JINGLE_XMLNS
public static final String TIGASE_ARCHIVE_JINGLE_XMLNS
- See Also:
- Constant Field Values
-
OMIT_JINGLE_XMLNS_KEY
public static final String OMIT_JINGLE_XMLNS_KEY
- See Also:
- Constant Field Values
-
OMIT_JINGLE_XMLNS_SUP_XMLNSS
public static final String[] OMIT_JINGLE_XMLNS_SUP_XMLNSS
-
ID
protected static final String ID
- See Also:
- Constant Field Values
-
JINGLE_EL
protected static final String JINGLE_EL
- See Also:
- Constant Field Values
-
JINGLE_PATH
protected static final String[] JINGLE_PATH
-
OMIT_JINGLE_XMLNS_SUP_PATHS
public static final String[][] OMIT_JINGLE_XMLNS_SUP_PATHS
-
JINGLE_MESSAGE_XMLNS
protected static final String JINGLE_MESSAGE_XMLNS
- See Also:
- Constant Field Values
-
-
Method Detail
-
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 conn, 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
-
postProcess
public void postProcess(tigase.server.Packet packet, tigase.xmpp.XMPPResourceConnection conn, tigase.db.NonAuthUserRepository repo, Queue<tigase.server.Packet> queue, Map<String,Object> settings)- Specified by:
postProcessin interfacetigase.xmpp.XMPPPostprocessorIfc
-
supElementNamePaths
public String[][] supElementNamePaths()
- Specified by:
supElementNamePathsin interfacetigase.xmpp.XMPPImplIfc- Overrides:
supElementNamePathsin classtigase.xmpp.impl.annotation.AnnotatedXMPPProcessor
-
supNamespaces
public String[] supNamespaces()
- Specified by:
supNamespacesin interfacetigase.xmpp.XMPPImplIfc- Overrides:
supNamespacesin classtigase.xmpp.impl.annotation.AnnotatedXMPPProcessor
-
-