Class JingleArchive
- java.lang.Object
-
- tigase.xmpp.XMPPProcessor
-
- tigase.xmpp.impl.annotation.AnnotatedXMPPProcessor
-
- tigase.archive.unified.processors.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
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
ID
protected static java.lang.String
JINGLE_EL
protected static java.lang.String
JINGLE_MESSAGE_XMLNS
protected static java.lang.String[]
JINGLE_PATH
static java.lang.String
JINGLE_XMLNS
static java.lang.String
OMIT_JINGLE_XMLNS_KEY
static java.lang.String[][]
OMIT_JINGLE_XMLNS_SUP_PATHS
static java.lang.String[]
OMIT_JINGLE_XMLNS_SUP_XMLNSS
static java.lang.String
TIGASE_ARCHIVE_JINGLE_XMLNS
-
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
-
-
-
-
Field Detail
-
JINGLE_XMLNS
public static final java.lang.String JINGLE_XMLNS
- See Also:
- Constant Field Values
-
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
-
ID
protected static final java.lang.String ID
- See Also:
- Constant Field Values
-
JINGLE_EL
protected static final java.lang.String JINGLE_EL
- See Also:
- Constant Field Values
-
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
-
-
Method Detail
-
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 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 interfacetigase.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 interfacetigase.xmpp.XMPPPostprocessorIfc
-
supElementNamePaths
public java.lang.String[][] supElementNamePaths()
- Specified by:
supElementNamePaths
in interfacetigase.xmpp.XMPPImplIfc
- Overrides:
supElementNamePaths
in classtigase.xmpp.impl.annotation.AnnotatedXMPPProcessor
-
supNamespaces
public java.lang.String[] supNamespaces()
- Specified by:
supNamespaces
in interfacetigase.xmpp.XMPPImplIfc
- Overrides:
supNamespaces
in classtigase.xmpp.impl.annotation.AnnotatedXMPPProcessor
-
-