public class MessageArchivePlugin
extends tigase.xmpp.XMPPProcessor
implements tigase.xmpp.XMPPProcessorIfc
| Modifier and Type | Field and Description |
|---|---|
protected static String |
AUTO |
static String |
DEFAULT_SAVE |
protected static String |
ID |
static String |
LIST
Field description
|
static String |
MSG_ARCHIVE_PATHS |
static String |
MUC_SAVE |
static String |
OWNER_JID
Field description
|
static String |
REMOVE
Field description
|
static String |
RETRIEVE
Field description
|
protected static String |
SETTINGS |
static String |
XEP0136NS
Field description
|
| Constructor and Description |
|---|
MessageArchivePlugin() |
| Modifier and Type | Method and Description |
|---|---|
String |
id()
Method description
|
void |
init(Map<String,Object> settings)
Method description
|
void |
process(tigase.server.Packet packet,
tigase.xmpp.XMPPResourceConnection session,
tigase.db.NonAuthUserRepository repo,
Queue<tigase.server.Packet> results,
Map<String,Object> settings)
Method description
|
void |
setAutoSave(tigase.xmpp.XMPPResourceConnection session,
Boolean auto)
Method description
|
void |
setStoreMethod(tigase.xmpp.XMPPResourceConnection session,
StoreMethod save) |
tigase.xml.Element[] |
supDiscoFeatures(tigase.xmpp.XMPPResourceConnection session)
Method description
|
String[][] |
supElementNamePaths()
Method description
|
String[] |
supNamespaces()
Method description
|
canHandle, compareTo, concurrentThreadsPerQueue, getComponentInfo, getInstance, getStatistics, isSupporting, supElements, supStreamFeatures, supTypes, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanHandle, concurrentQueuesNo, concurrentThreadsPerQueue, getComponentInfo, getStatistics, isSupporting, supElements, supStreamFeatures, supTypescompareTopublic static final String DEFAULT_SAVE
public static final String MUC_SAVE
public static final String LIST
public static final String OWNER_JID
public static final String REMOVE
public static final String RETRIEVE
public static final String XEP0136NS
protected static final String AUTO
protected static final String ID
protected static final String SETTINGS
public static final String MSG_ARCHIVE_PATHS
public void init(Map<String,Object> settings) throws tigase.db.TigaseDBException
init in interface tigase.xmpp.XMPPImplIfcinit in class tigase.xmpp.XMPPProcessorsettings - tigase.db.TigaseDBExceptionpublic void process(tigase.server.Packet packet,
tigase.xmpp.XMPPResourceConnection session,
tigase.db.NonAuthUserRepository repo,
Queue<tigase.server.Packet> results,
Map<String,Object> settings)
throws tigase.xmpp.XMPPException
process in interface tigase.xmpp.XMPPProcessorIfcpacket - session - repo - results - settings - tigase.xmpp.XMPPExceptionpublic String id()
id in interface tigase.xmpp.XMPPImplIfcpublic String[][] supElementNamePaths()
supElementNamePaths in interface tigase.xmpp.XMPPImplIfcsupElementNamePaths in class tigase.xmpp.XMPPProcessorpublic String[] supNamespaces()
supNamespaces in interface tigase.xmpp.XMPPImplIfcsupNamespaces in class tigase.xmpp.XMPPProcessorpublic tigase.xml.Element[] supDiscoFeatures(tigase.xmpp.XMPPResourceConnection session)
supDiscoFeatures in interface tigase.xmpp.XMPPImplIfcsupDiscoFeatures in class tigase.xmpp.XMPPProcessorsession - public void setAutoSave(tigase.xmpp.XMPPResourceConnection session,
Boolean auto)
throws tigase.xmpp.NotAuthorizedException,
tigase.db.TigaseDBException
session - auto - tigase.xmpp.NotAuthorizedExceptiontigase.db.TigaseDBExceptionpublic void setStoreMethod(tigase.xmpp.XMPPResourceConnection session,
StoreMethod save)
throws tigase.xmpp.NotAuthorizedException,
tigase.db.TigaseDBException
tigase.xmpp.NotAuthorizedExceptiontigase.db.TigaseDBExceptionCopyright © 2017. All rights reserved.