public class MessageArchivePlugin
extends tigase.xmpp.XMPPProcessor
implements tigase.xmpp.XMPPProcessorIfc
| Modifier and Type | Field and Description |
|---|---|
static String |
DEFAULT_SAVE |
static String |
LIST
Field description
|
static String |
OWNER_JID
Field description
|
static String |
REMOVE
Field description
|
static String |
RETRIEVE
Field description
|
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
|
Set<tigase.xmpp.StanzaType> |
supTypes()
Method description
|
canHandle, compareTo, concurrentQueuesNo, concurrentThreadsPerQueue, getComponentInfo, getInstance, getStatistics, isSupporting, supElements, supStreamFeatures, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitcanHandle, concurrentQueuesNo, concurrentThreadsPerQueue, getComponentInfo, getStatistics, isSupporting, supElements, supStreamFeaturescompareTopublic static final String DEFAULT_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
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 Set<tigase.xmpp.StanzaType> supTypes()
supTypes in interface tigase.xmpp.XMPPImplIfcsupTypes in class tigase.xmpp.XMPPProcessorpublic 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 © 2015. All rights reserved.