Package tigase.archive.processors
Class Xep0136MessageArchivingProcessor
- java.lang.Object
-
- tigase.xmpp.XMPPProcessor
-
- tigase.archive.processors.Xep0136MessageArchivingProcessor
-
- All Implemented Interfaces:
java.lang.Comparable<tigase.xmpp.XMPPImplIfc>
,tigase.xmpp.XMPPImplIfc
,tigase.xmpp.XMPPProcessorConcurrencyAwareIfc
,tigase.xmpp.XMPPProcessorIfc
@Deprecated @Bean(name="message-archive-xep-0136", parent=tigase.server.xmppsession.SessionManager.class, active=false) public class Xep0136MessageArchivingProcessor extends tigase.xmpp.XMPPProcessor implements tigase.xmpp.XMPPProcessorIfc
Deprecated.MessageArchingPlugin is implementation of plugin which forwards messages with type set to "chat" to MessageArchivingComponent to store this messages in message archive.
-
-
Field Summary
Fields Modifier and Type Field Description protected static java.lang.String
AUTO
Deprecated.protected static java.lang.String
ID
Deprecated.static java.lang.String
LIST
Deprecated.static java.lang.String
MUC_SAVE
Deprecated.static java.lang.String
REMOVE
Deprecated.static java.lang.String
RETRIEVE
Deprecated.protected static java.lang.String
SETTINGS
Deprecated.static java.lang.String
XEP0136NS
Deprecated.
-
Constructor Summary
Constructors Constructor Description Xep0136MessageArchivingProcessor()
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.String
id()
Deprecated.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)
Deprecated.protected void
requestingPreferrences(tigase.xmpp.XMPPResourceConnection session, tigase.server.Packet packet, java.util.Queue<tigase.server.Packet> results)
Deprecated.tigase.xml.Element[]
supDiscoFeatures(tigase.xmpp.XMPPResourceConnection session)
Deprecated.java.lang.String[][]
supElementNamePaths()
Deprecated.java.lang.String[]
supNamespaces()
Deprecated.protected void
updateAutoSave(tigase.xmpp.XMPPResourceConnection session, tigase.server.Packet packet, tigase.xml.Element auto, java.util.Queue<tigase.server.Packet> results)
Deprecated.protected void
updatingPreferences(tigase.xmpp.XMPPResourceConnection session, tigase.server.Packet packet, tigase.xml.Element pref, java.util.Queue<tigase.server.Packet> results)
Deprecated.-
Methods inherited from class tigase.xmpp.XMPPProcessor
canHandle, compareTo, concurrentQueuesNo, getComponentInfo, getInstance, getQueueSize, getStatistics, getThreadsNo, init, supStreamFeatures, supTypes, toString
-
-
-
-
Field Detail
-
MUC_SAVE
public static final java.lang.String MUC_SAVE
Deprecated.- See Also:
- Constant Field Values
-
LIST
public static final java.lang.String LIST
Deprecated.- See Also:
- Constant Field Values
-
REMOVE
public static final java.lang.String REMOVE
Deprecated.- See Also:
- Constant Field Values
-
RETRIEVE
public static final java.lang.String RETRIEVE
Deprecated.- See Also:
- Constant Field Values
-
XEP0136NS
public static final java.lang.String XEP0136NS
Deprecated.- See Also:
- Constant Field Values
-
AUTO
protected static final java.lang.String AUTO
Deprecated.- See Also:
- Constant Field Values
-
ID
protected static final java.lang.String ID
Deprecated.- See Also:
- Constant Field Values
-
SETTINGS
protected static final java.lang.String SETTINGS
Deprecated.- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public java.lang.String id()
Deprecated.- Specified by:
id
in interfacetigase.xmpp.XMPPImplIfc
-
supElementNamePaths
public java.lang.String[][] supElementNamePaths()
Deprecated.- Specified by:
supElementNamePaths
in interfacetigase.xmpp.XMPPImplIfc
- Overrides:
supElementNamePaths
in classtigase.xmpp.XMPPProcessor
-
supNamespaces
public java.lang.String[] supNamespaces()
Deprecated.- Specified by:
supNamespaces
in interfacetigase.xmpp.XMPPImplIfc
- Overrides:
supNamespaces
in classtigase.xmpp.XMPPProcessor
-
supDiscoFeatures
public tigase.xml.Element[] supDiscoFeatures(tigase.xmpp.XMPPResourceConnection session)
Deprecated.- Specified by:
supDiscoFeatures
in interfacetigase.xmpp.XMPPImplIfc
- Overrides:
supDiscoFeatures
in classtigase.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
Deprecated.- Specified by:
process
in interfacetigase.xmpp.XMPPProcessorIfc
- Throws:
tigase.xmpp.XMPPException
-
requestingPreferrences
protected void requestingPreferrences(tigase.xmpp.XMPPResourceConnection session, tigase.server.Packet packet, java.util.Queue<tigase.server.Packet> results) throws tigase.xmpp.NotAuthorizedException, tigase.db.TigaseDBException
Deprecated.- Throws:
tigase.xmpp.NotAuthorizedException
tigase.db.TigaseDBException
-
updatingPreferences
protected void updatingPreferences(tigase.xmpp.XMPPResourceConnection session, tigase.server.Packet packet, tigase.xml.Element pref, java.util.Queue<tigase.server.Packet> results) throws tigase.xmpp.PacketErrorTypeException, tigase.xmpp.NotAuthorizedException
Deprecated.- Throws:
tigase.xmpp.PacketErrorTypeException
tigase.xmpp.NotAuthorizedException
-
updateAutoSave
protected void updateAutoSave(tigase.xmpp.XMPPResourceConnection session, tigase.server.Packet packet, tigase.xml.Element auto, java.util.Queue<tigase.server.Packet> results) throws tigase.xmpp.PacketErrorTypeException, tigase.xmpp.NotAuthorizedException
Deprecated.- Throws:
tigase.xmpp.PacketErrorTypeException
tigase.xmpp.NotAuthorizedException
-
-