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.XMPPProcessorIfcDeprecated.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.StringAUTODeprecated.protected static java.lang.StringIDDeprecated.static java.lang.StringLISTDeprecated.static java.lang.StringMUC_SAVEDeprecated.static java.lang.StringREMOVEDeprecated.static java.lang.StringRETRIEVEDeprecated.protected static java.lang.StringSETTINGSDeprecated.static java.lang.StringXEP0136NSDeprecated.
-
Constructor Summary
Constructors Constructor Description Xep0136MessageArchivingProcessor()Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Stringid()Deprecated.voidprocess(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 voidrequestingPreferrences(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 voidupdateAutoSave(tigase.xmpp.XMPPResourceConnection session, tigase.server.Packet packet, tigase.xml.Element auto, java.util.Queue<tigase.server.Packet> results)Deprecated.protected voidupdatingPreferences(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:
idin interfacetigase.xmpp.XMPPImplIfc
-
supElementNamePaths
public java.lang.String[][] supElementNamePaths()
Deprecated.- Specified by:
supElementNamePathsin interfacetigase.xmpp.XMPPImplIfc- Overrides:
supElementNamePathsin classtigase.xmpp.XMPPProcessor
-
supNamespaces
public java.lang.String[] supNamespaces()
Deprecated.- Specified by:
supNamespacesin interfacetigase.xmpp.XMPPImplIfc- Overrides:
supNamespacesin classtigase.xmpp.XMPPProcessor
-
supDiscoFeatures
public tigase.xml.Element[] supDiscoFeatures(tigase.xmpp.XMPPResourceConnection session)
Deprecated.- Specified by:
supDiscoFeaturesin interfacetigase.xmpp.XMPPImplIfc- Overrides:
supDiscoFeaturesin 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.XMPPExceptionDeprecated.- Specified by:
processin 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.TigaseDBExceptionDeprecated.- Throws:
tigase.xmpp.NotAuthorizedExceptiontigase.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.NotAuthorizedExceptionDeprecated.- Throws:
tigase.xmpp.PacketErrorTypeExceptiontigase.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.NotAuthorizedExceptionDeprecated.- Throws:
tigase.xmpp.PacketErrorTypeExceptiontigase.xmpp.NotAuthorizedException
-
-